OFFSET
2,2
LINKS
Amiram Eldar, Table of n, a(n) for n = 2..115
MATHEMATICA
a[n_] := a[n] = PrimeNu[n^n - n];
Table[a[n], {n, 2, 75}] (* Robert P. P. McKone, May 07 2024 *)
PROG
(PARI) a(n) = omega(n^n-n);
(Python)
from sympy.ntheory.factor_ import primenu
def A372599(n): return primenu(n*(n**(n-1)-1)) # Chai Wah Wu, May 07 2024
CROSSREFS
KEYWORD
nonn,changed
AUTHOR
Tyler Busby, May 06 2024
STATUS
approved