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, etcetera). T. D. Noe suggested the name semiprimes which are super-perfect powers.
The number of terms <= 10^k: 2, 6, 17, 51, 131, 379, 1015, 2865, 8086, ..., . - Robert G. Wilson v, Apr 16 2011
LINKS
Robert G. Wilson v, Table of n, a(n) for n = 1..8086
EXAMPLE
a(21) = 42^2 + 1 = 1765 = 5 * 353.
MATHEMATICA
fQ[n_] := GCD @@ Last /@ FactorInteger[n - 1] > 1 && Plus @@ Last /@ FactorInteger[n] == 2; Select[ Range@ 10000, fQ] (* Robert G. Wilson v, Apr 16 2011 *)
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Jonathan Vos Post, Apr 15 2011
STATUS
approved