Jump to content

Babbage problem: Difference between revisions

m
Line 1,415:
wait
 
loopuntil ((n ^ 2) % 1000000) = 269696
 
print "The smallest number whose square ends in 269696 is: ", n
print "It's square is ", n * n</syntaxhighlight>
{{out| Output}}<pre>calculating...
 
The smallest number whose square ends in 269696 is: 25264
end</syntaxhighlight>
It's square is 638269696</pre>
 
=={{header|D}}==
305

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.