Number of compositions of n, where the difference between the number of odd parts and the number of even parts is 1.

A242499

Number of compositions of n, where the difference between the number of odd parts and the number of even parts is 1.

Terms

    a(0) =1a(1) =0a(2) =1a(3) =3a(4) =1a(5) =9a(6) =11a(7) =18a(8) =51a(9) =65a(10) =151a(11) =290a(12) =477a(13) =1043a(14) =1835a(15) =3486a(16) =6931a(17) =12540a(18) =24607a(19) =46797a(20) =87979a(21) =171072a(22) =323269a(23) =619245a(24) =1190619a(25) =2264925a(26) =4357211a(27) =8343322a(28) =15973309a(29) =30711853

External references