S000112


Primes not of form x^2 + 18*y^2.

2, 3, 5, 7, 11, 13, 17, 23, 29, 31, 37, 41, 47, 53, 59, 61, 71, 79, 83, 89, 101, 103, 107, 109, 113, 127, 131, 137, 149, 151, 157, 167, 173, 179, 181, 191, 197, 199, 223, 227, 229, 233, 239, 251, 257, 263, 269, 271, 277, 281, 293, 311, 317, 347, 349, 353

1

S000112

T. D. Noe, Plot of 1000 terms

T. D. Noe, Table of 1000 terms

(Mma) k = 18; nn = 30; t = Select[Union[Flatten[Table[x^2 + k*y^2, {x, 0, nn}, {y, 0, nn/Sqrt[k]}]]], # <= nn^2 + 1 && PrimeQ[#] &]; Complement[Prime[Range[PrimePi[nn^2 + 1]]], t]

Cf. A106950 (complement in the primes).

nonn

T. D. Noe, Jun 30 2014

© Tony D Noe 2014-2015