login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 56th year, we are closing in on 350,000 sequences, and we’ve crossed 9,700 citations (which often say “discovered thanks to the OEIS”).

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A060332 Primes the sum of seven consecutive composite numbers. 2
173, 359, 367, 383, 457, 541, 593, 619, 643, 659, 811, 877, 929, 1087, 1103, 1129, 1181, 1223, 1481, 1489, 1549, 1753, 1787, 1811, 2039, 2063, 2129, 2137, 2239, 2297, 2347, 2371, 2549, 2557, 2693, 2711, 2719, 2767, 2819, 2843, 2851, 3061, 3163, 3187 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

LINKS

Harvey P. Dale, Table of n, a(n) for n = 1..1000

MATHEMATICA

composite[ n_Integer ] := (k = n + PrimePi[ n ] + 1; While[ k - PrimePi[ k ] - 1 != n, k++ ]; k); a = {}; Do[ p = composite[ n ] + composite[ n + 1 ] + composite[ n + 2 ] + composite[ n + 3 ] + composite[ n + 4 ] + composite[ n + 5 ] + composite[ n + 6 ]; If[ PrimeQ[ p ], a = Append[ a, p ] ], {n, 1, 2000} ]; a

Module[{upto=500, cmps}, cmps=Select[Range[upto], CompositeQ]; Select[ Total/@ Partition[ cmps, 7, 1], PrimeQ]] (* Harvey P. Dale, Oct 24 2021 *)

CROSSREFS

Sequence in context: A142004 A047986 A096703 * A142022 A130338 A275968

Adjacent sequences:  A060329 A060330 A060331 * A060333 A060334 A060335

KEYWORD

nonn

AUTHOR

Robert G. Wilson v, Mar 30 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 | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified December 4 10:59 EST 2021. Contains 349486 sequences. (Running on oeis4.)