OFFSET
1,1
COMMENTS
Primes in A154355.
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..1000
EXAMPLE
a(6) = 3181 corresponds to n=12, therefore 3181 = (3*12-2)^2+(4*12-3)^2 = 34^2+45^2 (see second comment in A154355). - Bruno Berselli, Feb 21 2012
MATHEMATICA
Select[Table[25*n^2-36*n+13, {n, 0, 2000}], PrimeQ] (* Vincenzo Librandi, Jul 16 2012 *)
PROG
(Magma) [a: n in [0..350] | IsPrime(a) where a is 25*n^2-36*n+13]; // Vincenzo Librandi, Jul 16 2012
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Vincenzo Librandi, Jan 07 2009
EXTENSIONS
Corrected by Don Reble, Jun 16 2010
a(1)-a(2) in b-file corrected by Andrew Howroyd, Feb 22 2018
STATUS
approved