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!)
A172235 n-th partial sum of primes of the form 3*k+1/2+-1/2 minus n-th partial sum of primes of the form 3*m-1. 0
1, 3, 5, 7, 15, 23, 25, 39, 53, 67, 75, 89, 103, 111, 131, 157, 177, 197, 211, 225, 245, 265, 285, 311, 313, 321, 353, 379, 405, 449, 493, 543, 587, 625, 675, 701, 727, 765, 791, 823, 855, 875, 901, 921, 959 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
FORMULA
a(n) = A172113(n) - A172188(n).
EXAMPLE
a(1) = (3*1+1/2-1/2)-(3*1-1) = 1;
a(2) = (3+3*2+1/2+1/2)-(2+3*2-1) = 3.
CROSSREFS
Partial sums of A171715.
Sequence in context: A194360 A057743 A071169 * A163979 A124248 A029514
KEYWORD
nonn
AUTHOR
EXTENSIONS
Corrected (453 replaced by 493) by R. J. Mathar, May 22 2010
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 June 12 21:05 EDT 2024. Contains 373360 sequences. (Running on oeis4.)