OFFSET
1,1
COMMENTS
Among the first 10000 terms (from a(1) = 68 through a(10000) = 697578), k^2 - 1 and k^2 + 1 are each the product of three distinct primes, except for
125 terms for which k^2 + 1 = 5^3 times a prime
6 terms for which k^2 + 1 = 13^3 times a prime
1 terms for which k^2 + 1 = 17^3 times a prime
1 terms for which k^2 + 1 = 29^3 times a prime, and
4 terms for which k^2 - 1 = p^3 * (p^3 +/- 2) (with p = 19, 29, 37, 83, respectively).
The first term for which both k^2 - 1 and k^2 + 1 are of the form p^3 * q is k = 41457661182: k^2 - 1 = 3461^3 * 41457661183, while k^2 + 1 = 5^3 * 13749901365452077097.
FORMULA
{ k : tau(k^2 - 1) = tau(k^2 + 1) = 8}, where tau() is the number of divisors function, A000005.
EXAMPLE
68 is a term: both 68^2 - 1 = 4623 = 3 * 23 * 67 and 68^2 + 1 = 4625 = 5^3 * 37 have 8 divisors.
CROSSREFS
KEYWORD
nonn
AUTHOR
Jon E. Schoenfield, Jun 21 2024
STATUS
approved