[go: up one dir, main page]

login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

Revision History for A098123 (Bold, blue-underlined text is an addition; faded, red-underlined text is a deletion.)

Showing entries 1-10 | older changes
Number of compositions of n with equal number of even and odd parts.
(history; published version)
#18 by Michael De Vlieger at Thu Jun 30 22:18:04 EDT 2022
STATUS

proposed

approved

#17 by Gus Wiseman at Thu Jun 30 19:12:58 EDT 2022
STATUS

editing

proposed

#16 by Gus Wiseman at Tue Jun 28 13:16:22 EDT 2022
#15 by Gus Wiseman at Tue Jun 28 13:09:49 EDT 2022
CROSSREFS

For partitions: A045931, ranked by A325698, strict A239241 (conj A352129).

The version Without multiplicity: A242821, for partitions is A045931, A241638 (ranked by A325698, strict A239241 (conjugate A352129A325700).

Counting only distinct parts gives A242821, for partitions A241638 (ranked by A325700).

These compositions are ranked by A351598A355321.

Cf. A000070, A000700, A000712, A001405, A024619, A026424, A028260, A027193, A035363, `~A066207, `~A066208, A097613, A195017, A240009, A277579 (ranked by A349157).

Cf. `~A103919, A277579 (ranked by A349157), ~`A350947.

Cf. A000700, A001405, A024619, A097613, A240009.

#14 by Gus Wiseman at Mon Jun 27 23:02:21 EDT 2022
CROSSREFS

These compositions are ranked by A351598.

A108950/A108949 count partitions with more odd/even parts, weak A130780/A171966.

Cf. A000070 ptns_altsum_1, A000712 ptns_2kinds, A026424 odd_om, A028260 ev_om, A027193 ptns_odd_len, A035363 ptns_use_ev, A066207 all_ev_prix, A066208 all_odd_prix, A195017 ev_minus_odd_prix.

Cf. A103919 tri_ptns_altsum, A350947 h_allfour_eq, A277579 ptns_num_ev_eq_num_odd_conj.

A130780/A171966 count partitions with more or as many odd/even parts.

Cf. A000070, A000712, A026424, A028260, A027193, A035363, `~A066207, `~A066208, A195017.

Cf. `~A103919, A277579 (ranked by A349157), ~`A350947.

#13 by Gus Wiseman at Sun Jun 26 21:02:34 EDT 2022
EXAMPLE

From Gus Wiseman, Jun 26 2022: (Start)

The a(0) = 1 through a(7) = 6 compositions (empty columns indicated by dots):

() . . (12) . (14) (1122) (16)

(21) (23) (1212) (25)

(32) (1221) (34)

(41) (2112) (43)

(2121) (52)

(2211) (61)

(End)

MATHEMATICA

Table[Length[Select[Join@@Permutations/@IntegerPartitions[n], Count[#, _?EvenQ]==Count[#, _?OddQ]&]], {n, 0, 15}] (* Gus Wiseman, Jun 26 2022 *)

CROSSREFS

Cf. A045931.

The version for partitions is A045931, ranked by A325698, strict A239241 (conjugate A352129).

Counting only distinct parts gives A242821, for partitions A241638 (ranked by A325700).

A047993 counts balanced partitions, ranked by A106529.

A108950/A108949 count partitions with more odd/even parts, weak A130780/A171966.

Cf. A000070 ptns_altsum_1, A000712 ptns_2kinds, A026424 odd_om, A028260 ev_om, A027193 ptns_odd_len, A035363 ptns_use_ev, A066207 all_ev_prix, A066208 all_odd_prix, A195017 ev_minus_odd_prix.

Cf. A103919 tri_ptns_altsum, A350947 h_allfour_eq, A277579 ptns_num_ev_eq_num_odd_conj.

Cf. A000700, A001405, A024619, A097613, A240009.

STATUS

approved

editing

#12 by Alois P. Heinz at Mon May 19 11:36:14 EDT 2014
STATUS

editing

approved

#11 by Alois P. Heinz at Mon May 19 11:36:08 EDT 2014
FORMULA

a(n) = Sum_{k=floor(n/3)..floor(n/2)} binomialC(2*n-4*k, n-2*k)*binomialC(n-1-k, 2*n-4*k-1).

STATUS

approved

editing

#10 by Alois P. Heinz at Mon May 19 10:49:07 EDT 2014
STATUS

editing

approved

#9 by Alois P. Heinz at Fri May 16 17:40:44 EDT 2014
CROSSREFS

Column k=0 of A242498.

STATUS

approved

editing