Search: a181776 -id:a181776
|
|
A366779
|
|
a(n) = lambda(lambda(lambda(n))), where lambda(n) is the Carmichael lambda function (A002322).
|
|
+10
1
|
|
|
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 2, 1, 2, 1, 1, 2, 4, 1, 2, 1, 2, 1, 2, 1, 2, 1, 2, 2, 1, 1, 2, 2, 1, 1, 2, 1, 2, 2, 1, 4, 10, 1, 2, 2, 2, 1, 2, 2, 2, 1, 2, 2, 6, 1, 2, 2, 1, 2, 1, 2, 4, 2, 4, 1, 2, 1, 2, 2, 2, 2, 2, 1, 2, 1, 6, 2, 4, 1, 2, 2, 2
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,11
|
|
LINKS
|
|
|
FORMULA
|
|
|
EXAMPLE
|
|
|
MAPLE
|
a:= n-> (numtheory[lambda]@@3)(n):
|
|
MATHEMATICA
|
a[n_]:=Nest[CarmichaelLambda, n, 3]; Array[a, 87] (* Stefano Spezia, Jan 20 2024 *)
|
|
PROG
|
(PARI) a(n) = lcm(znstar(lcm(znstar(lcm(znstar(11)[2]))[2]))[2])
(Python)
from sympy import reduced_totient
def A366779(n): return reduced_totient(reduced_totient(reduced_totient(n))) # Chai Wah Wu, Jan 29 2024
|
|
CROSSREFS
|
Cf. A002322 (lambda function), A181776 (lambda function at two iterations).
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
Search completed in 0.012 seconds
|