+ 5

Generate a random perfect squared number

My mind blew when I found this in a math test the other day. With these simple steps you can create a squared number from a random value. https://code.sololearn.com/cNc9x84wIdc4/?ref=app

23rd Aug 2017, 6:10 PM
Limitless
Limitless - avatar
1 Odpowiedź
+ 4
It will, but this is 2 numbers adding up. 1 + 3 = 4 1 * 3 = 3 16 + 9 = 25 I just found it super interesting. Like you can do it with any number. 9 + 11 = 20. 20 * 20 = 400 9 * 11 = 99. 99 * 99 = 9801 400 + 9801 = 10201 sqrt of 10201 = 101
23rd Aug 2017, 10:37 PM
Limitless
Limitless - avatar