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!)
A228198 Smallest of five consecutive primes whose sum is not a prime. 1
2, 3, 17, 23, 37, 41, 47, 61, 71, 83, 89, 97, 101, 103, 131, 139, 167, 173, 181, 193, 197, 199, 227, 233, 239, 241, 251, 257, 271, 277, 281, 283, 293, 313, 317, 331, 337, 347, 367, 373, 389, 397, 421, 431, 439, 457, 463, 487, 491, 499, 503, 509, 547, 563, 587, 593 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
EXAMPLE
47 is in the sequence because 47+53+59+61+67 = 287 and 287 is not a prime.
MATHEMATICA
Transpose[Select[Partition[Prime[Range[150]], 5, 1], ! PrimeQ[Total[#]] &]][[1]]
Prime[Select[Range[150], ! PrimeQ[Sum[Prime[# + i], {i, 0, 4}]] &]] (* Bruno Berselli, Aug 21 2013 *)
PROG
(Magma) [NthPrime(n): n in [1..120] | not IsPrime(&+[NthPrime(n+s): s in [0..4]])];
CROSSREFS
Sequence in context: A045342 A045343 A019388 * A023214 A225946 A095688
KEYWORD
nonn
AUTHOR
Vincenzo Librandi, Aug 20 2013
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 March 28 10:55 EDT 2024. Contains 371241 sequences. (Running on oeis4.)