OFFSET
0,2
LINKS
T. D. Noe, Table of n, a(n) for n = 0..1000
FORMULA
a(n) = A008908(5^n).
EXAMPLE
n=2: 5^n=25, list={25, 76, 38, 19, 58, 29, 88, 44, 22, 11, 34, 17, 52, 26, 13, 40, 20, 10.5, 16, 8, 4, 2, 1}, a(2)=24.
MATHEMATICA
Table[Length[NestWhileList[If[EvenQ@ #, #/2, 3 # + 1] &, 5^n, # != 1 &]], {n, 0, 52}] (* Michael De Vlieger, Feb 25 2017 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Labos Elemer, Sep 26 2002
STATUS
approved