login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A213916 Sum of all odd numbers in Collatz (3x+1) trajectory of n. 7
1, 1, 9, 1, 6, 9, 54, 1, 63, 6, 47, 9, 19, 54, 132, 1, 36, 63, 95, 6, 22, 47, 117, 9, 120, 19, 20262, 54, 76, 132, 20194, 1, 153, 36, 94, 63, 91, 95, 450, 6, 20235, 22, 248, 47, 81, 117, 20163, 9, 140, 120, 204, 19, 59, 20262, 20426, 54, 305, 76, 411, 132, 178 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,3
LINKS
FORMULA
a(n) = A033493(n) - A213909(n).
EXAMPLE
a(5)=6 since Collatz trajectory of 5 is 5,16,8,4,2,1.
MATHEMATICA
Collatz[n_] := NestWhileList[If[EvenQ[#], #/2, 3 # + 1] &, n, # > 1 &]; Table[Total[Select[Collatz[n], OddQ]], {n, 100}] (* T. D. Noe, Mar 05 2013 *)
CROSSREFS
Sequence in context: A363876 A195712 A296473 * A297815 A021920 A367960
KEYWORD
nonn
AUTHOR
Jayanta Basu, Mar 05 2013
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified July 27 09:42 EDT 2024. Contains 374647 sequences. (Running on oeis4.)