+0  
 
0
68
1
avatar

Find all numbers such that the square of the number is 84 more than five times the number. If you find more than one, then list all the numbers you find, separated by commas.

 Mar 13, 2020
 #1
avatar
0

n=1; a=(n*5 + 84);b=n^2;if(a==b, goto loop, goto next);loop:printn, a, b; next:n++;if(n<1000, goto1, 0)

 

n = 12.   12^2 =[12*5 + 84] =144

 Mar 13, 2020

9 Online Users

avatar