OFFSET
1,1
COMMENTS
Numbers of the form p*q where p and q are primes, not necessarily distinct, such that p*q + 1 is a perfect power (squares, cubes, etc.). In one sense, this is to semiprimes as Mersenne primes A000668 are to primes.
By Catalan's conjecture (or now Mihailescu's theorem), p and q are always distinct. - T. D. Noe, Apr 15 2011
LINKS
T. D. Noe, Table of n, a(n) for n = 1..8433 (terms < 10^12)
EXAMPLE
a(9) = 12^3 - 1 = 1727 = 11 * 157.
MATHEMATICA
SemiPrimeQ[n_] := Total[FactorInteger[n]][[2]] == 2; PerfectPowerQ[n_] := GCD @@ Last /@ FactorInteger[n] > 1; Select[Range[400000], SemiPrimeQ[#] && PerfectPowerQ[# + 1] &] (* T. D. Noe, Apr 15 2011 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Jonathan Vos Post, Apr 15 2011
STATUS
approved