login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

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
OFFSET
1,39
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
Cf. A000010 (phi), A362719.
Sequence in context: A359249 A284996 A215029 * A368751 A025908 A134404
KEYWORD
nonn,easy
AUTHOR
Wesley Ivan Hurt, May 04 2023
STATUS
approved