OFFSET
0,3
EXAMPLE
For n = 29: a(29) = 32 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 3rd step of iteration ending with number 32.
CROSSREFS
KEYWORD
nonn
AUTHOR
Jaroslav Krizek, May 01 2010
STATUS
approved