Number of integer partitions of n such that the least and greatest parts are both even or both odd.

A391225

Number of integer partitions of n such that the least and greatest parts are both even or both odd.

Terms

    a(0) =1a(1) =2a(2) =2a(3) =4a(4) =3a(5) =8a(6) =6a(7) =14a(8) =13a(9) =25a(10) =24a(11) =45a(12) =45a(13) =74a(14) =82a(15) =125a(16) =139a(17) =204a(18) =233a(19) =329a(20) =382a(21) =517a(22) =609a(23) =811a(24) =957a(25) =1242a(26) =1478a(27) =1892a(28) =2249a(29) =2839

External references