|
|
A362832
|
|
Number of partitions of n into two distinct parts (s,t) such that phi(s) = phi(t).
|
|
0
|
|
|
0, 0, 1, 0, 0, 0, 1, 0, 1, 1, 0, 0, 1, 0, 1, 1, 1, 1, 0, 1, 1, 1, 1, 0, 1, 0, 1, 0, 0, 0, 1, 1, 1, 1, 1, 1, 0, 0, 2, 1, 1, 0, 0, 1, 1, 2, 1, 0, 3, 1, 1, 0, 0, 2, 1, 0, 3, 1, 0, 0, 0, 1, 1, 1, 2, 1, 0, 1, 2, 1, 0, 1, 1, 2, 1, 0, 2, 1, 0, 2, 1, 1, 1, 1, 0, 0, 2, 1, 0, 0, 3
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,39
|
|
LINKS
|
|
|
FORMULA
|
a(n) = Sum_{k=1..floor((n-1)/2)} [phi(k) = phi(n-k)], where [ ] is the Iverson bracket and phi is the Euler totient function (A000010).
a(n) = (A362719(n-1) - ((n-1) mod 2))/2.
|
|
EXAMPLE
|
a(49) = 3. The 3 partitions of 49 are (13,36), (17,32), and (21,28).
|
|
MATHEMATICA
|
Table[Sum[KroneckerDelta[EulerPhi[k], EulerPhi[n - k]], {k, Floor[(n - 1)/2]}], {n, 100}]
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,easy
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|