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

A135658
Nonprimes of the form 4x^2-4xy+7y^2.
0
4, 15, 16, 24, 28, 36, 40, 55, 60, 63, 64, 87, 88, 96, 100, 112, 124, 132, 135, 144, 159, 160, 168, 175, 196, 216, 220, 231, 232, 240, 247
OFFSET
1,1
COMMENTS
Because 4x^2-4*x*y+7*y^2 = (2*x-y)^2+6*y^2, this is a subsequence of A002481. - R. J. Mathar, Jan 18 2021
MATHEMATICA
Do[Do[w = 4x^2 - 4x y + 7y^2; If[w > 0, If[PrimeQ[w], [null], AppendTo[a, w]]], {x, 0, 100}], {y, 0, 100}]; Union[a]
CROSSREFS
KEYWORD
nonn
AUTHOR
Artur Jasinski, Nov 25 2007
STATUS
approved