Let A(n) denote the number of sums of positive integers a1+a2+⋯+ar which add up to n with
a1>a2+a3,a2>a3+a4,…,ar−2>ar−1+ar,ar−1>ar.
Let B(n) denote the number of b1+b2+⋯+bs which add up to n, with
-
b1≥b2≥⋯≥bs,
-
each bi is in the sequence 1,2,4,…,gj,… defined by g1=1, g2=2, and gj=gj−1+gj−2+1, and
-
if b1=gk then every element in {1,2,4,…,gk} appears at least once as a bi.
Prove that A(n)=B(n) for each n≥1.
(For example, A(7)=5 because the relevant sums are 7,6+1,5+2,4+3,4+2+1, and B(7)=5 because the relevant sums are 4+2+1,2+2+2+1,2+2+1+1+1,2+1+1+1+1+1,1+1+1+1+1+1+1.)