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

%I #15 Sep 08 2022 08:46:05

%S 2,3,17,23,37,41,47,61,71,83,89,97,101,103,131,139,167,173,181,193,

%T 197,199,227,233,239,241,251,257,271,277,281,283,293,313,317,331,337,

%U 347,367,373,389,397,421,431,439,457,463,487,491,499,503,509,547,563,587,593

%N Smallest of five consecutive primes whose sum is not a prime.

%H Vincenzo Librandi, <a href="/A228198/b228198.txt">Table of n, a(n) for n = 1..1000</a>

%e 47 is in the sequence because 47+53+59+61+67 = 287 and 287 is not a prime.

%t Transpose[Select[Partition[Prime[Range[150]], 5, 1], ! PrimeQ[Total[#]] &]][[1]]

%t Prime[Select[Range[150], ! PrimeQ[Sum[Prime[# + i], {i, 0, 4}]] &]] (* _Bruno Berselli_, Aug 21 2013 *)

%o (Magma) [NthPrime(n): n in [1..120] | not IsPrime(&+[NthPrime(n+s): s in [0..4]])];

%Y Cf. A000040, A152468.

%K nonn

%O 1,1

%A _Vincenzo Librandi_, Aug 20 2013

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 18 10:01 EDT 2024. Contains 371779 sequences. (Running on oeis4.)