OFFSET
1,1
EXAMPLE
9=3^2, 27=3^3, 2187=3^7, 19683=3^9, but 300763=67^3 - is there any rule?
MATHEMATICA
pp = Join[{1}, Select[ Range[10^7], Apply[GCD, Last[ Transpose[ FactorInteger[ # ]]]] > 1 & ]]; Select[pp, PrimeQ[(# - 5)/2] & ]
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Zak Seidov, Oct 11 2002
EXTENSIONS
Extended by Robert G. Wilson v, Oct 14 2002
STATUS
approved