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”).

A007638
Numbers k such that 3*k^2 - 3*k + 23 is composite.
(Formerly M5129)
1
23, 24, 28, 31, 39, 44, 45, 46, 47, 50, 52, 56, 57, 60, 63, 67, 69, 70, 71, 79, 80, 85, 86, 88, 89, 90, 92, 93, 96, 97, 102, 107, 108, 112, 115, 116, 118, 119, 121, 122, 123, 126, 128, 131, 134, 137, 138, 139, 143, 144, 145, 147, 148, 151, 153, 156, 157, 161, 162
OFFSET
1,1
REFERENCES
N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).
LINKS
H. Dubner, Generalized Cullen numbers, J. Rec. Math., 21 (No. 3, 1989), 190-191. (Annotated scanned copy)
MATHEMATICA
Select[Range[200], !PrimeQ[3 #^2 - 3 # + 23] &] (* Vincenzo Librandi, Jun 08 2017 *)
PROG
(PARI) is(n)=!isprime(3*n^2 - 3*n + 23) \\ Charles R Greathouse IV, Oct 23 2015
(Magma) [n: n in [0..200]| not IsPrime(3*n^2-3*n+23)]; // Vincenzo Librandi, Jun 08 2017
CROSSREFS
Sequence in context: A291511 A062999 A241889 * A031332 A122470 A022393
KEYWORD
nonn,easy
STATUS
approved