OFFSET
1,1
LINKS
Jeffrey C. Lagarias The 3x+1 problem: An annotated bibliography arXiv:math/0309224 [math.NT], 2003-2011.
Jeffrey C. Lagarias, "The Problem and Its Generalizations." Amer. Math. Monthly 92, 3-23, 1985.
Eric Weisstein's World of Mathematics, Collatz Problem
FORMULA
EXAMPLE
If n=1 then T = 2 and a(1) = 2.
MATHEMATICA
f[n_] := If[EvenQ[n], PartitionsP[3n + 1], PartitionsP[(3n + 1)/2]]; Table[ f[n], {n, 35}] (* Robert G. Wilson v, Nov 07 2005 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Parthasarathy Nambi, Nov 04 2005
STATUS
approved