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!)
A082925 Partial sums of A082924. 0
3, 6, 10, 12, 18, 21, 29, 33, 60, 65, 77, 83, 97, 104, 149, 157, 175, 184, 204, 214, 277, 288, 312, 324, 399, 412, 493, 507, 537, 552, 584, 600, 699, 716, 821, 839, 877, 896, 1013, 1033, 1075, 1096, 1140, 1162, 1297, 1320, 1368, 1392, 1539, 1564, 1717, 1743 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

LINKS

Table of n, a(n) for n=1..52.

FORMULA

a(n) = sum_{j=1..n} A082924(j).

EXAMPLE

For n = 5, sum(3+3+4+2+6) = 18 is the 5th entry of the sequence.

PROG

(PARI) crazy1(n) = { s=0; tmp; for(x=1, n, if(x%2==0, y=x/2, y=x*3); if(isprime(x), y=x+1); s=s+y; \ print1(y" ") print1(s" "); tmp=s1; s1=s2; s2=tmp; ); print(); print(s1/s2"="s1/s2+0.0) } /* note that s1 and s2 do not have any meaning in that context .. R. J. Mathar, Oct 07 2011 */

CROSSREFS

Sequence in context: A310045 A310046 A196524 * A131696 A164114 A167219

Adjacent sequences:  A082922 A082923 A082924 * A082926 A082927 A082928

KEYWORD

easy,nonn

AUTHOR

Cino Hilliard, May 26 2003

STATUS

approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified January 18 11:57 EST 2022. Contains 350455 sequences. (Running on oeis4.)