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!)
A172103 Partial sums of A167020 where A167020(n)=1 iff 6*n-1 is prime. 3
1, 2, 3, 4, 5, 5, 6, 7, 8, 9, 9, 10, 10, 11, 12, 12, 13, 14, 15, 15, 15, 16, 17, 17, 18, 18, 18, 19, 20, 21, 21, 22, 23, 23, 23, 23, 23, 24, 25, 26, 26, 27, 28, 29, 30, 30, 31, 31, 32, 32, 32, 33, 34, 34, 34, 34, 34, 35, 36, 37, 37, 37, 37, 38, 39, 39, 40, 40, 40, 41, 41, 42, 42 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

COMMENTS

Where A167020 is the characteristic sequence: A167020(n)=1 iff 6*n-1 is prime.

LINKS

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

PROG

(PARI) ism(n) = isprime(6*n-1); \\ A167020

a(n) = sum(k=1, n, ism(k)); \\ Michel Marcus, Feb 06 2019

CROSSREFS

Cf. A007528, A167020, A172104.

Sequence in context: A247971 A317334 A331266 * A123731 A247973 A352241

Adjacent sequences:  A172100 A172101 A172102 * A172104 A172105 A172106

KEYWORD

nonn

AUTHOR

Juri-Stepan Gerasimov, Jan 25 2010

EXTENSIONS

Entries checked by R. J. Mathar, Apr 14 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 August 10 03:18 EDT 2022. Contains 356029 sequences. (Running on oeis4.)