OFFSET
1,1
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..5000
N. J. A. Sloane et al., Binary Quadratic Forms and OEIS (Index to related sequences, programs, references)
MATHEMATICA
a = {}; w = 25; k = 1; Do[Do[If[PrimeQ[n^2 + w*n*m + k*m^2], AppendTo[a, n^2 + w*n*m + k*m^2]], {n, m, 400}], {m, 1, 400}]; Union[a] (*Artur Jasinski*)
With[{nn=80}, Select[Union[#[[1]]^2+25#[[1]]#[[2]]+#[[2]]^2&/@Tuples[ Range[ 0, nn], 2]], PrimeQ[#]&&#<nn^2&]] (* Harvey P. Dale, Feb 10 2020 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Artur Jasinski, Apr 24 2008
STATUS
approved