OFFSET
1,3
LINKS
T. D. Noe, Table of n, a(n) for n = 1..10000
MATHEMATICA
Collatz[n_] := NestWhileList[If[EvenQ[#], #/2, 3 # + 1] &, n, # > 1 &]; Table[c = Collatz[n]; Total[Select[c, EvenQ]] - Total[Select[c, OddQ]], {n, 100}] (* T. D. Noe, Mar 05 2013 *)
CROSSREFS
KEYWORD
sign
AUTHOR
Jayanta Basu, Mar 05 2013
STATUS
approved