Ramanujan's sum identity relates the sequences ,
, and
defined by the generating
functions
|
(1)
| |||
|
(2)
| |||
|
(3)
|
(OEIS A051028, A051029, and A051030). It states that
|
(4)
|
for nonnegative integers . Hirschhorn (1995) gave the explicit formulas
|
(5)
| |||
|
(6)
| |||
|
(7)
|
where
and
. Hirschhorn (1996) showed that
checking the first seven cases
to 6 is sufficient to prove the result.