OFFSET
1,3
COMMENTS
phi(2^n) and phi(n^2) both are even iff n>1, therefore their sum and difference is always even.
FORMULA
MAPLE
with(numtheory): A248643:=n->phi(2^n)-phi(n^2): seq(A248643(n), n=1..40); # Wesley Ivan Hurt, Feb 11 2017
MATHEMATICA
Table[EulerPhi[2^n] - EulerPhi[n^2], {n, 35}] (* Michael De Vlieger, Feb 13 2017 *)
PROG
(PARI) a(n)=2^(n-1)-n*eulerphi(n)
CROSSREFS
KEYWORD
sign
AUTHOR
M. F. Hasler, Oct 10 2014
STATUS
approved