OFFSET
1,1
COMMENTS
For all entries p = 9*n^2-10*n+3 in the sequence, 9p-2 = (9n-5)^2 is a perfect square.
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..1000
MATHEMATICA
Table[9n^2-10n+3, {n, 0, 1500}], PrimeQ] (* Vincenzo Librandi, Jul 16 2012 *)
PROG
(Magma) [ a: n in [0..250] | IsPrime(a) where a is 9*n^2-10*n+3]; // Vincenzo Librandi, Jul 16 2012
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Vincenzo Librandi, Jan 06 2009
STATUS
approved