OFFSET
1,5
LINKS
Paolo Xausa, Table of n, a(n) for n = 1..10000
Max Alekseyev, PARI/GP Scripts for Miscellaneous Math Problems (invphi.gp).
FORMULA
a(n) = n - A069932(n).
MATHEMATICA
Table[Count[Divisible[n, #[[;; n]]], False], {n, Length[#]}] & [EulerPhi[Range[100]]]
PROG
(PARI) a(n) = n - sumdiv(n, d, #select(x -> x<=n, invphi(d))); \\ Amiram Eldar, Dec 10 2024, using Max Alekseyev's invphi.gp
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Paolo Xausa, Dec 05 2024
STATUS
approved