print "calculating..." let n = 2 do let n = n + 2 wait loopuntil (n ^ 2) % 1000000 = 269696 print "The smallest number whose square ends in 269696 is: ", n print "It's square is ", n * n