Anonymous user
Increasing gaps between consecutive Niven numbers: Difference between revisions
Increasing gaps between consecutive Niven numbers (view source)
Revision as of 07:06, 12 January 2020
, 4 years ago→add digits in chunks: corrected a typo.
m (→add digits in chunks: added some comments.) |
m (→add digits in chunks: corrected a typo.) |
||
Line 224:
do zz= length(j)+1 to 4 /*handle all J's with leading zeros. */
jz= right(j, zz, 0) /*also add leading zeros from some J's.*/
if @.jz==0 then @.jz= sum /*assign a
end /*zz*/
end /*j*/
|