OFFSET
1,2
COMMENTS
For every n, a(n)-1 is not squarefree.
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..450
MATHEMATICA
a[n_]:= Block[{k=1}, While[GCD[k - 1, EulerPhi[k]]/GCD[CarmichaelLambda[k], k - 1] != n, k++]; k]; Table[a[n], {n, 40}] (* Indranil Ghosh, Mar 27 2017 *)
PROG
(PARI) a(n)={my(k=1); while(gcd(k - 1, eulerphi(k))/gcd(lcm(znstar(k)[2]), k - 1) != n, k++); k}; \\ Indranil Ghosh, Mar 27 2017
CROSSREFS
KEYWORD
nonn
AUTHOR
Thomas Ordowski and Altug Alkan, Mar 27 2017
STATUS
approved