OFFSET
1,2
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000
József Sándor, The Unitary Totient Minimum and Maximum Functions, Studia Universitatis Babes-Bolyai Mathematica, Volume L, Number 2, June 2005.
FORMULA
a(p-1) = p for p prime. See Sándor link Theorem 2 p. 95.
PROG
(PARI) a047994(n) = prod(i=1, #n=factor(n)~, n[1, i]^n[2, i]-1);
a(n) = my(k=1); while(a047994(k) % n, k++); k;
CROSSREFS
KEYWORD
nonn
AUTHOR
Michel Marcus, Sep 09 2018
STATUS
approved