OFFSET
1,2
COMMENTS
Sequence is precise in the sense that n+1 consecutive numbers starting at a(n) do not take the same number of steps.
LINKS
MATHEMATICA
Collatz[n_] := Length[NestWhileList[If[EvenQ[#], #/2, 3 # + 1] &, n, # > 1 &]] - 1; nn = 10; t = Table[0, {nn}]; t[[1]] = 1; rep = 1; last = 0; n = 1; While[Times @@ t == 0, n++; r = Collatz[n]; If[r == last, rep++, If[0 < rep <= nn && t[[rep]] == 0, t[[rep]] = n - rep]; last = r; rep = 1]]; t (* T. D. Noe, Jun 20 2012 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Peter L. Stone [ PetStone(AT)aol.com ]
STATUS
approved