OFFSET
1,1
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..1000
EXAMPLE
a(1)=14 because 14=7*2 and (7-1)/(2+1)=2=prime, a(2)=39 because 39=13*3 and (13-1)/(3+1)=3=prime.
MATHEMATICA
mkpQ[n_]:=Module[{fs=Transpose[FactorInteger[n]][[1]]}, PrimeQ[ (Last[ fs]- 1)/(First[fs]+1)]]; With[{sps=Select[Range[3100], PrimeOmega[#] == 2&]}, Select[sps, mkpQ]] (* Harvey P. Dale, Jun 12 2013 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Juri-Stepan Gerasimov, May 29 2010
EXTENSIONS
Corrected and extended by R. J. Mathar and D. S. McNeil, May 31 2010
STATUS
approved