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!)
A260907 Numbers n such that prime(n) + prime(n+1) + prime(n+2) is not a prime. 0
1, 2, 6, 12, 14, 15, 17, 21, 24, 25, 27, 28, 30, 31, 32, 33, 36, 39, 40, 41, 42, 43, 44, 46, 48, 49, 51, 52, 53, 54, 55, 56, 57, 59, 63, 65, 66, 67, 71, 72, 73, 74, 76, 78, 81, 82, 84, 85, 86, 89, 92, 93, 96, 98, 99, 100, 102, 103, 104, 105, 106, 107, 108 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
Complement of A072225.
LINKS
EXAMPLE
6 is in the sequence because prime(6) + prime(7) + prime(8) = 13 + 17 + 19 = 49 is not a prime.
MATHEMATICA
Select[Range[200], !PrimeQ[Prime[#] + Prime[# + 1] + Prime[# + 2]] &]
PROG
(Magma) [n: n in [1..200] | not IsPrime(NthPrime(n) + NthPrime(n+1) + NthPrime(n+2))];
(PARI) for(n=1, 1e2, if(!isprime(prime(n)+prime(n+1)+prime(n+2)), print1(n, ", "))) \\ Altug Alkan, Nov 19 2015
(Sage) [n for n in (1..200) if not is_prime(nth_prime(n) + nth_prime(n+1) + nth_prime(n+2))] # Bruno Berselli, Nov 19 2015
CROSSREFS
Cf. A000040, A072225, A174742 (associated primes).
Sequence in context: A250178 A154712 A079849 * A333833 A057895 A111369
KEYWORD
nonn,easy
AUTHOR
Vincenzo Librandi, Nov 18 2015
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 April 23 11:19 EDT 2024. Contains 371911 sequences. (Running on oeis4.)