OFFSET
0,3
EXAMPLE
For n = 29: a(29) = 25 because for the number 29 there are 4 steps of defined iteration: {2^9 = 512}, {(5^1)^2 = 25}, {2^5 = 32}, {3^2 = 9}, and the 2nd step of the iteration ends with 25.
CROSSREFS
KEYWORD
nonn
AUTHOR
Jaroslav Krizek, May 01 2010
STATUS
approved