Anonymous user
Iterated digits squaring: Difference between revisions
m
Modified a comment.
m (Corrected a typo.) |
m (Modified a comment.) |
||
Line 1,746:
## Compute the number of chains ending with 89.
# Initialize the count table with
var prevCount, currcount: CountTable[int]
for i in 0..9: prevcount[i * i] = 1
|