login
A385315
Smallest number k such that both k^n - 1 and k^n + 1 have n prime factors, counted with repetitions.
2
4, 12, 66, 920, 26, 132, 79, 17958, 53, 693, 4181, 122160, 29791, 32318, 971
OFFSET
1,1
FORMULA
a(n) >= max(A368162(n), A368163(n)). - Daniel Suteu, Sep 02 2025
EXAMPLE
a(1) = 4, because 4^1 - 1 = 3 and 4^1 + 1 = 5, and no lesser number has this property.
See the Links section for more examples.
PROG
(PARI) a(n) = my(k=2, kn=k^n); while ((bigomega(kn-1)!=n) || (bigomega(kn+1)!=n), k++; kn=k^n); k; \\ Michel Marcus, Aug 18 2025
KEYWORD
nonn,more,hard
AUTHOR
Jean-Marc Rebert, Aug 12 2025
STATUS
approved