OFFSET
1,1
LINKS
Charles R Greathouse IV, Table of n, a(n) for n = 1..10000
MATHEMATICA
Select[6#+7&/@Prime[Range[8000]], IntegerQ[Sqrt[#]]&] (* Harvey P. Dale, Mar 11 2011 *)
PROG
(PARI) forstep(n=5, 1e3, [2, 4], if(isprime((n^2-7)/6), print1(n^2", "))) \\ Charles R Greathouse IV, Sep 20 2016
CROSSREFS
KEYWORD
nonn
AUTHOR
Giovanni Teofilatto, Sep 03 2005
EXTENSIONS
Corrected and extended by Ray Chandler, Sep 04 2005
STATUS
approved