A067775 Primes p such that p + 4 is composite.
2, 5, 11, 17, 23, 29, 31, 41, 47, 53, 59, 61, 71, 73, 83, 89, 101, 107, 113, 131, 137, 139, 149, 151, 157, 167, 173, 179, 181, 191, 197, 199, 211, 227, 233, 239, 241, 251, 257, 263, 269, 271, 281, 283, 293, 311, 317, 331, 337, 347, 353, 359, 367, 373, 383, 389
Offset: 1
Keywords
Links
- Klaus Brockhaus, Table of n, a(n) for n = 1..1026
- Eric Weisstein's World of Mathematics, Bernoulli Number
Programs
-
Mathematica
A067775 = {}; Do[p = Prime@ n; If[ IntegerQ[ p! BernoulliB[p + 3]], AppendTo[A067775, p]], {n, 77}]; A067775 (* Robert G. Wilson v, Aug 19 2008 *) Select[Prime[Range[80]], Not[PrimeQ[# + 4]] &] (* Alonso del Arte, Apr 02 2014 *)
-
PARI
lista(nn) = {forprime(p=1, nn, if (! isprime(p+4), print1(p, ", ")););} \\ Michel Marcus, Nov 22 2013
Formula
a(n) ~ n log n. - Charles R Greathouse IV, Nov 22 2013
Extensions
New name from Klaus Brockhaus at the suggestion of Michel Marcus, Nov 22 2013
Comments