OFFSET
1,2
LINKS
Peter Kagey, Table of n, a(n) for n = 1..10000
EXAMPLE
a(9) = 27 because:
phi(9) = 6 < 8 = phi(a(8)),
phi(18) = 6 < 8 = phi(a(8)),
phi(27) = 18 >= 8 = phi(a(8)).
MATHEMATICA
a = t = {1}; lim = 55; Do[k = 1; While[EulerPhi[k n] < t[[n - 1]], k++]; AppendTo[a, k n]; AppendTo[t, EulerPhi[k n]], {n, 2, lim}]; a (* Michael De Vlieger, Sep 04 2015 *)
PROG
(PARI) lista(nn) = {print1(a=1, ", "); for (n=2, nn, k = 1; phia = eulerphi(a); while(eulerphi(k*n) < phia, k++); a = k*n; print1(a, ", "); ); } \\ Michel Marcus, Sep 22 2015
CROSSREFS
KEYWORD
nonn
AUTHOR
Leroy Quet, Aug 19 2008
EXTENSIONS
Extended by Ray Chandler, Nov 09 2008
STATUS
approved