cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A228199 Smallest of 7 consecutive primes whose sum is not a prime.

This page as a plain text file.
%I A228199 #16 Sep 08 2022 08:46:05
%S A228199 2,3,5,7,11,13,37,41,59,67,73,83,101,109,131,139,149,157,163,167,173,
%T A228199 179,181,191,193,197,199,211,223,227,229,239,241,251,263,269,271,277,
%U A228199 281,283,293,307,311,331,337,347,349,353,389,397,409,419,421,431,433,439,443
%N A228199 Smallest of 7 consecutive primes whose sum is not a prime.
%H A228199 Vincenzo Librandi, <a href="/A228199/b228199.txt">Table of n, a(n) for n = 1..1000</a>
%e A228199 59 is in the sequence because 59+61+67+71+73+79+83 = 493 and 493 is not a prime.
%t A228199 Transpose[Select[Partition[Prime[Range[150]], 7, 1], ! PrimeQ[Total[#]] &]][[1]]
%t A228199 Prime[Select[Range[100], ! PrimeQ[Sum[Prime[# + i], {i, 0, 6}]] &]] (* _Bruno Berselli_, Aug 22 2013 *)
%o A228199 (Magma) [NthPrime(n): n in [1..120] |not IsPrime(&+[NthPrime(n+s): s in [0..6]])];
%Y A228199 Cf. A000040, A180948.
%K A228199 nonn
%O A228199 1,1
%A A228199 _Vincenzo Librandi_, Aug 20 2013