Stop in for a cup of coffee

Explain something to me cuz I'm stoopid!!

If H = T * RPM/5252

Given a torque curve for an engine, one could plot the HP throughout the rpm range...

The math says that torque and horsepower are always equal at 5252 rpm.
And horsepower is always exactly half of torque at 2626 rpm..
.....

So why do I see HP/Torque curves posted that don't follow the laws? Am I missing something?
For example.

450 ft lbs @ 4000 rpms

H = 450 * 4000 / 5252

H = 1,800,000 / 5252

H= 342.8


Where you're getting confused is the 5252. That's not the RPM, that's the fixed divisor

So while your rpm can be 2000 or 3000 or 4000, the 5252 stays constant in the formula, the rest of the numbers will change