OFFSET
1,1
COMMENTS
n=3, -1+3^n = 26, list = {26,13,40,20,10,5,16,8,4,2,1}, a(3)=11.
LINKS
T. D. Noe, Table of n, a(n) for n = 1..1000
FORMULA
a(n) = A008908(3^n-1).
MATHEMATICA
lcoll[n_] := Length[NestWhileList[If[EvenQ[#], #/2, 3 # + 1] &, n, # > 1 &]]; Table[lcoll[3^i - 1], {i, 54}] (* Jayanta Basu, Jun 15 2013 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Labos Elemer, Sep 26 2002
STATUS
approved