OFFSET
1,1
COMMENTS
The sequence could be generated by searching for squared primes p^2 in A153238.
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..1000
FORMULA
a(n) = (A110589(n)^2-3)/2 .
EXAMPLE
The prime 3=(3^2-3)/2 is generated by p=3. The prime 11=(5^2-3)/2 is generated by p=5. The prime 23 by p=7.
MATHEMATICA
Select[Table[(p^2 - 3)/2, {p, Prime[Range[300]]}], PrimeQ] (* Vincenzo Librandi, Oct 12 2012 *)
PROG
(Magma) [a: p in PrimesInInterval(1, 500) | IsPrime(a) where a is (p^2 - 3) div 2]; // Vincenzo Librandi, Oct 12 2012
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Vincenzo Librandi, Sep 23 2009
EXTENSIONS
More terms from Max Alekseyev, Sep 25 2009
Comment clarified by R. J. Mathar, Oct 07 2009
STATUS
approved