OFFSET
1,1
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..1000
FORMULA
a(n) = (A165667(n)^2-2)/7.
EXAMPLE
17=(11^2-2)/7; 41=(17^2-2)/7; 137=(31^2-2)/7.
MATHEMATICA
Select[(#^2-2)/7&/@Prime[Range[300]], PrimeQ] (* Harvey P. Dale, Nov 10 2009 *)
PROG
(PARI) lista(nn) = forprime(p=2, nn, q=(p^2-2)/7; if ((type(q)=="t_INT") && isprime(q), print1(q, ", "))); \\ Michel Marcus, Aug 19 2015
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Vincenzo Librandi, Sep 24 2009
EXTENSIONS
Entries checked by R. J. Mathar and Charles R Greathouse IV, Oct 12 2009
STATUS
approved