+0  
 
0
29
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

20 Online Users

avatar
avatar
avatar
avatar
avatar
avatar