All about flooble | fun stuff | Get a free chatterbox | Free JavaScript | Avatars    
perplexus dot info

Home > Just Math
Fahrenheit*Celsius equals Perfect Square (Posted on 2022-01-07) Difficulty: 3 of 5
Each of x and y is a nonnegative integer such that:

xo Celsius = yo Fahrenheit

Determine all pairs (x,y) such that x*y is a perfect square, where x < 106

**** Celsius to Fahrenheit conversion is given here.

See The Solution Submitted by K Sengupta    
Rating: 5.0000 (1 votes)

Comments: ( Back to comment list | You must be logged in to post comments.)
Solution computer solution | Comment 2 of 3 |
for fahr=32:9000000/5+32
   celsius=(fahr-32)*5/9;
   if celsius==floor(celsius)
      prod=fahr*celsius;
      sr=round(sqrt(prod));
      if sr*sr==prod
         disp([celsius fahr]); 
      end
   end
end

Celsius   Fahrenheit  Product   Square Root
      0        32             0       0
    200       392         78400     280
   9800     17672     173185600   13160
 460800    829472  382220697600  618240

  Posted by Charlie on 2022-01-07 09:55:28
Please log in:
Login:
Password:
Remember me:
Sign up! | Forgot password


Search:
Search body:
Forums (0)
Newest Problems
Random Problem
FAQ | About This Site
Site Statistics
New Comments (3)
Unsolved Problems
Top Rated Problems
This month's top
Most Commented On

Chatterbox:
Copyright © 2002 - 2024 by Animus Pactum Consulting. All rights reserved. Privacy Information