OFFSET
1,2
COMMENTS
LINKS
Michael De Vlieger, Table of n, a(n) for n = 1..13256 (First 1924 terms from Vincenzo Librandi; a(n) <= 10^6.)
MATHEMATICA
With[{s = FoldList[LCM @@ {#1, EulerPhi@ #2} &, Range[700]]}, Map[FirstPosition[s, #][[1]] &, Union@ FoldList[Max, s]]] (* Michael De Vlieger, Dec 09 2018 *)
PROG
(PARI) lista(nn) = {least = 1; print1(1, ", "); for (n=2, nn, nleast = lcm(least, eulerphi(n)); if (nleast > least, print1(n, ", ")); least = nleast; ); } \\ Michel Marcus, Jul 30 2017
CROSSREFS
KEYWORD
nonn
AUTHOR
Labos Elemer, Oct 08 2002
STATUS
approved