An n-sum of type 1 is a finite sequence of positive integers a1,a2,…,ar, such that:
(1)a1+a2+…+ar=n;
(2)a1>a2+a3,a2>a3+a4,…,ar−2>ar−1+ar, and ar−1>ar. For example, there are five 7-sums of type 1, namely: 7; 6,1; 5,2; 4,3; 4,2,1. An n-sum of type 2 is a finite sequence of positive integers b1,b2,…,bs such that:
(1)b1+b2+…+bs=n;
(2)b1≥b2≥…≥bs;
(3) each bi is in the sequence 1,2,4,…,gj,… defined by g1=1, g2=2, gj=gj−1+gj−2+1; and
(4) if b1=gk, then 1,2,4,…,gk is a subsequence. For example, there are five 7-sums of type 2, namely: 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. Prove that for n≥1 the number of type 1 and type 2n-sums is the same.