login
Number of partitions of n with odd minimal and maximal parts.
4

%I #6 Apr 23 2019 23:57:50

%S 1,1,2,2,3,5,6,9,12,18,22,33,40,57,72,98,121,164,202,267,330,427,526,

%T 674,826,1043,1277,1598,1945,2414,2929,3605,4359,5327,6419,7801,9361,

%U 11311,13533,16274,19399,23223,27597,32899,38977,46284,54673,64701,76206

%N Number of partitions of n with odd minimal and maximal parts.

%C The four sequences A325338, A325344, A325345, A325346 partition the partition numbers, A000041.

%e a(6) counts these 5 partitions: [5,1], [3,3], [3,1], [3,1,1,1], [1,1,1,1,1].

%t Table[Count[IntegerPartitions[n], q_ /; OddQ[Min[q]] && OddQ[Max[q]]], {n, 30}]

%Y Cf. A000041, A325344, A325345, A325346.

%K nonn,easy

%O 1,3

%A _Clark Kimberling_, Apr 23 2019