OFFSET
1,1
COMMENTS
Subsequence of A095692.
((3-1)/2)^3+((3+1)/2)=1+2=3, ((5-1)/2)^3+((5+1)/2)=8+3=11, ((7-1)/2)^3+((7+1)/2)=27+4=31,..
LINKS
J. Mulder, Table of n, a(n) for n = 1..10000
MATHEMATICA
f[n_]:=((p-1)/2)^3+((p+1)/2); lst={}; Do[p=Prime[n]; If[PrimeQ[f[p]], AppendTo[lst, f[p]]], {n, 6!}]; lst
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Vladimir Joseph Stephan Orlovsky, Jul 27 2009
EXTENSIONS
Comment from Charles R Greathouse IV Aug 11 2009
STATUS
approved