Number of partitions of n such that the absolute value of the difference between the number of odd parts and the number of even parts is <=1.

A239835

Number of partitions of n such that the absolute value of the difference between the number of odd parts and the number of even parts is <=1.

Terms

    a(0) =1a(1) =1a(2) =1a(3) =2a(4) =2a(5) =4a(6) =4a(7) =7a(8) =8a(9) =12a(10) =15a(11) =20a(12) =26a(13) =33a(14) =44a(15) =54a(16) =71a(17) =86a(18) =113a(19) =136a(20) =175a(21) =211a(22) =268a(23) =323a(24) =403a(25) =487a(26) =601a(27) =726a(28) =885a(29) =1068

External references