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 thevalues for one digit numbers.
var prevCount, currcount: CountTable[int]
for i in 0..9: prevcount[i * i] = 1
Anonymous user