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!)
A128927 Primes which are the sum of the first k nonprimes for some k >= 2. 1
5, 11, 19, 79, 113, 251, 401, 709, 947, 1579, 1847, 2063, 5077, 7603, 9049, 10457, 11621, 17509, 18353, 19433, 21911, 22853, 24551, 27073, 30809, 33923, 34213, 37781, 39313, 39623, 45757, 46091, 47779, 51241, 53381, 56299, 58537, 67927 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
The k's are: 2, 3, 4, 9, 11, 17, 22, 30, 35, 46, 50, 53, 85, 105, 115, 124, ..., . - Robert G. Wilson v, Apr 28 2007
LINKS
EXAMPLE
1+4+6+8+9+10+12+14+15+16+18=113, a prime. The subtotals were taken up to and including 4,6,8,18,26,33,44,50,64,69,74,115,138,150.
MATHEMATICA
lst = {}; s = 0; Do[ If[ !PrimeQ@ n, s = s + n; If[ PrimeQ@ s, AppendTo[lst, s]]], {n, 460}]; lst (* Robert G. Wilson v *)
Select[Accumulate[Select[Range[600], !PrimeQ[#]&]], PrimeQ] (* Harvey P. Dale, Oct 11 2020 *)
CROSSREFS
Cf. A018252.
Sequence in context: A323007 A370682 A297365 * A145934 A033913 A088124
KEYWORD
nonn
AUTHOR
J. M. Bergot, Apr 25 2007
EXTENSIONS
Edited and extended by Robert G. Wilson v, Apr 28 2007
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 April 27 23:22 EDT 2024. Contains 372020 sequences. (Running on oeis4.)