[go: up one dir, main page]

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!)
A060698 The sum of the first n composite numbers minus 1 is a prime. 1
1, 3, 11, 15, 22, 39, 51, 57, 66, 67, 71, 79, 98, 105, 108, 109, 115, 118, 119, 125, 135, 150, 151, 152, 156, 160, 169, 200, 201, 205, 211, 223, 228, 241, 271, 281, 282, 291, 312, 315, 322, 331, 341, 350, 372, 382, 385, 395, 401, 420, 433, 461, 482, 498, 544 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
MATHEMATICA
Composite[ n_Integer ] := (k = n + PrimePi[ n ] + 1; While[ k - PrimePi[ k ] - 1 != n, k++ ]; k); Select[ Range[ 1000 ], PrimeQ[ Sum[ Composite[ k ], {k, 1, #} ] - 1 ] & ]
Position[Accumulate[Select[Range[700], CompositeQ]]-1, _?PrimeQ]//Flatten (* Harvey P. Dale, Jul 20 2016 *)
CROSSREFS
Sequence in context: A131323 A050592 A032466 * A294690 A331831 A357440
KEYWORD
nonn
AUTHOR
Robert G. Wilson v, Apr 20 2001
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 30 02:56 EDT 2024. Contains 375521 sequences. (Running on oeis4.)