OFFSET
1,4
LINKS
T. D. Noe, Table of n, a(n) for n = 1..10000
N. J. A. Sloane, Families of Essentially Identical Sequences, Mar 24 2021 (Includes this sequence)
FORMULA
G.f.: -1 + (1 - x)*Sum_{k>=1} mu(k)*x^(k-1)/(1 - x^k)^2. - Ilya Gutkovskiy, Jan 29 2017
MAPLE
A057000 := proc(n)
numtheory[phi](n+1)-numtheory[phi](n) ;
end proc:
seq(A057000(n), n=1..40) ; # R. J. Mathar, May 10 2023
MATHEMATICA
Table[EulerPhi[n + 1] - EulerPhi[n], {n, 100}] (* Vincenzo Librandi, Sep 30 2013 *)
PROG
(Magma) [(EulerPhi(n+1) - EulerPhi(n)): n in [1..100]]; // Vincenzo Librandi, Sep 30 2013
(PARI) a(n) = eulerphi(n+1) - eulerphi(n); \\ Michel Marcus, Jan 29 2017
CROSSREFS
KEYWORD
sign
AUTHOR
N. J. A. Sloane, Sep 09 2000
STATUS
approved