Happy numbers: Difference between revisions
m
→{{header|Commodore BASIC}}
(→{{header|Commodore BASIC}}: Add implementation.) |
|||
Line 1,066:
==={{header|Commodore BASIC}}===
The array sizes here are tuned to the minimum values required to find the first 8 happy numbers in numerical order. The <tt>H</tt> and <tt>U</tt> arrays are used for memoization, so the subscripts <tt>H(</tt><i>
<syntaxhighlight lang="gwbasic">
|