The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A366821 a(n) is phi(n^n-1) where phi is the Euler totient function. 2
2, 12, 128, 1400, 30240, 264992, 6635520, 141087744, 5890320000, 114117380608, 4662793175040, 99053063903040, 5470524984113280, 167080949856000000, 9208981628670443520, 413582117375670921216, 29531731481729468006400, 659473218553437863041320 (list; graph; refs; listen; history; text; internal format)
OFFSET
2,1
LINKS
FORMULA
a(n) = A000010(A048861(n)).
MAPLE
a:= n-> numtheory[phi](n^n-1):
seq(a(n), n=2..20); # Alois P. Heinz, Oct 26 2023
MATHEMATICA
Array[EulerPhi[#^# - 1] &, 18, 2] (* Michael De Vlieger, Oct 24 2023 *)
PROG
(PARI) a(n) = eulerphi(n^n-1);
CROSSREFS
Sequence in context: A253282 A201470 A349268 * A003712 A143136 A214224
KEYWORD
nonn
AUTHOR
Sean A. Irvine, Oct 24 2023
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 16 05:56 EDT 2024. Contains 372549 sequences. (Running on oeis4.)