The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A058633 Partial sums of the Collatz sequence. 2
0, 1, 8, 10, 15, 23, 39, 42, 61, 67, 81, 90, 99, 116, 133, 137, 149, 169, 189, 196, 203, 218, 233, 243, 266, 276, 387, 405, 423, 441, 547, 552, 578, 591, 604 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,3
LINKS
Charles R Greathouse IV, Table of n, a(n) for n = 1..10000
FORMULA
a(n) = Sum(i from 0 to n) Collatz(i) a(n) = a(n-1) + Collatz(n)
EXAMPLE
a(3) = Collatz(1) + Collatz(2) + Collatz(3) = 0 + 1 + 7 = 8.
PROG
(PARI) A006577(n)=if(n<0, 0, s=n; c=0; while(s>1, s=if(s%2, 3*s+1, s/2); c++); c)
s=0; vector(100, n, s+=A006577(n) ) \\ Charles R Greathouse IV, May 11 2015
CROSSREFS
Cf. A006577.
Sequence in context: A287557 A242732 A270796 * A165143 A355568 A289687
KEYWORD
nonn
AUTHOR
Felix Goldberg (felixg(AT)tx.technion.ac.il), Dec 26 2000
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 May 14 12:19 EDT 2024. Contains 372533 sequences. (Running on oeis4.)