OFFSET
1,5
FORMULA
a(n) = Sum_{i=1..floor(n/2)} (1 - [phi(i) = phi(n-i)]), where phi is the Euler totient function (A000010) and [ ] is the Iverson bracket.
MATHEMATICA
Table[Sum[1 - KroneckerDelta[EulerPhi[i], EulerPhi[n - i]], {i, Floor[n/2]}], {n, 100}]
CROSSREFS
KEYWORD
nonn
AUTHOR
Wesley Ivan Hurt, Sep 30 2020
STATUS
approved