|
|
A362229
|
|
a(n) is the largest m such that uphi(m) = n, where uphi is the unitary totient function (A047994), or a(n) = 0 if no such m exists.
|
|
3
|
|
|
2, 6, 4, 10, 0, 14, 8, 30, 0, 22, 0, 42, 0, 24, 16, 34, 0, 38, 0, 66, 0, 46, 0, 78, 0, 54, 0, 58, 0, 62, 32, 102, 0, 0, 0, 114, 0, 0, 0, 110, 0, 86, 0, 138, 0, 94, 0, 210, 0, 0, 0, 106, 0, 76, 0, 174, 0, 118, 0, 186, 0, 96, 64, 170, 0, 134, 0, 0, 0, 142, 0, 222
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
LINKS
|
|
|
FORMULA
|
|
|
EXAMPLE
|
a(1) = 2 since there are two solutions to uphi(x) = 1: 1 and 2, and 2 is the larger of them.
a(6) = 14 since there are three solutions to uphi(x) = 6: 7, 12 and 14, and 14 is the largest of them.
|
|
MATHEMATICA
|
a[n_] := If[(inv = invUPhi[n]) == {}, 0, Max[inv]]; Array[a, 100] (* using the function invUPhi from A361966 *)
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
_Amiram Eldar_, Apr 12 2023
|
|
STATUS
|
approved
|
|
|
|