2023-07-01 11:58:00 -04:00
|
|
|
print "calculating..."
|
|
|
|
|
let n = 2
|
|
|
|
|
do
|
2026-02-01 16:33:20 -08:00
|
|
|
let n = n + 2
|
|
|
|
|
wait
|
2023-07-01 11:58:00 -04:00
|
|
|
loopuntil (n ^ 2) % 1000000 = 269696
|
|
|
|
|
print "The smallest number whose square ends in 269696 is: ", n
|
|
|
|
|
print "It's square is ", n * n
|