Steady squares: Difference between revisions
→{{header|Lua}}: notes
(Added Lua) |
(→{{header|Lua}}: notes) |
||
Line 1,310:
=={{header|Lua}}==
{{Trans|ALGOL W}}
Uses the fact the final digit can only be 1, 5 or 6 (see the talk page).
<syntaxhighlight lang="lua">
do --[[ find steady squares - numbers whose square ends in the number
|