OFFSET
1,6
COMMENTS
a(n) >= 0 for n > 30.
REFERENCES
D. S. Mitrinovic et al., Handbook of Number Theory, Kluwer, p. 9.
LINKS
G. C. Greubel, Table of n, a(n) for n = 1..10000
MATHEMATICA
Table[EulerPhi[n]-Ceiling[Surd[n, 3]^2], {n, 90}] (* Harvey P. Dale, Oct 27 2016 *)
PROG
(PARI) a(n)=eulerphi(n)-sqrtnint(n^2-1, 3)-1 \\ Charles R Greathouse IV, Feb 07 2013
(Magma) [EulerPhi(n) - Ceiling(n^(2/3)): n in [1..100]]; // G. C. Greubel, Jan 14 2019
(Sage) [euler_phi(n) - ceil(n^(2/3)) for n in (1..100)] # G. C. Greubel, Jan 14 2019
CROSSREFS
KEYWORD
sign,easy
AUTHOR
N. J. A. Sloane, Jan 23 2003
STATUS
approved