OFFSET
1,1
LINKS
Paul Tek, Table of n, a(n) for n = 1..10000
Max Alekseyev, PARI/GP Scripts for Miscellaneous Math Problems (invphi.gp).
MATHEMATICA
Table[k = n + 1; While[And[k <= 2 n + 1, EulerPhi@ k != EulerPhi@ n], k++]; Boole[k < 2 n + 1] k, {n, 73}] (* Michael De Vlieger, Dec 31 2016 *)
PROG
(PARI) a(n) = {my(v = select(x -> x>n, invphi(eulerphi(n)))); if(#v == 0, 0, vecmin(v)); } \\ Amiram Eldar, Nov 14 2024, using Max Alekseyev's invphi.gp
CROSSREFS
KEYWORD
nonn
AUTHOR
Joseph L. Pe, Jan 10 2002
EXTENSIONS
More terms from Vladeta Jovovic, Jan 12 2002
Typo in data fixed by Paul Tek, Sep 20 2015
STATUS
approved