login

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 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

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
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 * A378146 A023214 A225946
KEYWORD
nonn
AUTHOR
Vincenzo Librandi, Aug 20 2013
STATUS
approved