login

Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.

A377678
a(n) = phi(n^n - n) where phi is the Euler totient function.
4
1, 8, 72, 768, 12400, 217728, 7112448, 94371840, 2594586816, 69139840000, 2584376931840, 58779453358080, 4367959006806720, 100089965305451520, 3251736576000000000, 200445251536048619520, 12343971160877345120064, 422076038504126628593664
OFFSET
2,2
LINKS
FORMULA
a(n) = A000010(A061190(n)).
MATHEMATICA
a[n_] := EulerPhi[n^n - n]; Array[a, 20, 2] (* Amiram Eldar, Nov 04 2024 *)
PROG
(PARI) a(n) = eulerphi(n^n-n);
KEYWORD
nonn
AUTHOR
Sean A. Irvine, Nov 03 2024
STATUS
approved