[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 A351005 (Bold, blue-underlined text is an addition; faded, red-underlined text is a deletion.)

Showing all changes.
Number of integer partitions of n into parts that are alternately equal and unequal.
(history; published version)
#9 by Alois P. Heinz at Thu Feb 10 18:32:22 EST 2022
STATUS

reviewed

approved

#8 by Joerg Arndt at Fri Feb 04 02:28:21 EST 2022
STATUS

proposed

reviewed

#7 by Alois P. Heinz at Thu Feb 03 13:44:46 EST 2022
STATUS

editing

proposed

#6 by Alois P. Heinz at Thu Feb 03 13:25:18 EST 2022
NAME

Number of integer partitions of n into parts that are alternately equal and unequal.

DATA

1, 1, 2, 1, 2, 2, 3, 2, 4, 2, 5, 4, 6, 4, 8, 5, 10, 6, 12, 8, 16, 9, 18, 12, 22, 14, 28, 16, 33, 20, 40, 24, 48, 28, 56, 34, 67, 40, 80, 46, 94, 56, 110, 64, 130, 75, 152, 88, 176, 102, 206, 118, 238, 138, 276, 159, 320, 182, 368, 210, 424, 242, 488, 276, 558

OFFSET

1,0,3

STATUS

proposed

editing

Discussion
Thu Feb 03
13:25
Alois P. Heinz: offset ... name ... more terms ...
#5 by Gus Wiseman at Tue Feb 01 00:46:02 EST 2022
STATUS

editing

proposed

#4 by Gus Wiseman at Tue Feb 01 00:45:54 EST 2022
CROSSREFS

Not requiring the Without equalities gives we have A122135, opposite A122129, even-length A122134.

Cf. A000070, A018819, A027383, `A087897, `A088218, `A101417, `A344605, ~A345194, ~A350837, ~A350839, A350842, A350844, A351008.

#3 by Gus Wiseman at Mon Jan 31 15:35:48 EST 2022
COMMENTS

Also partitions whose multiplicities are all 2's, except possibly for the last, which may be 1.

#2 by Gus Wiseman at Mon Jan 31 15:13:00 EST 2022
NAME

allocated for Gus WisemanNumber of integer partitions of n that are alternately equal and unequal.

DATA

1, 1, 2, 1, 2, 2, 3, 2, 4, 2, 5, 4, 6, 4, 8, 5, 10, 6, 12, 8, 16, 9, 18, 12, 22, 14, 28, 16, 33, 20, 40, 24, 48, 28, 56, 34, 67, 40, 80, 46, 94, 56, 110, 64, 130, 75, 152, 88, 176, 102, 206, 118, 238, 138, 276, 159, 320, 182, 368, 210, 424

OFFSET

1,3

EXAMPLE

The a(1) = 1 through a(12) = 6 partitions (A..C = 10..12):

1 2 3 4 5 6 7 8 9 A B C

11 22 221 33 331 44 441 55 443 66

2211 332 442 551 552

3311 3322 33221 4422

4411 5511

332211

MATHEMATICA

Table[Length[Select[IntegerPartitions[n], And@@Table[#[[i]]==#[[i+1]], {i, 1, Length[#]-1, 2}]&&And@@Table[#[[i]]!=#[[i+1]], {i, 2, Length[#]-1, 2}]&]], {n, 0, 30}]

CROSSREFS

The even-length ordered version is A003242, ranked by A351010.

The even-length case is A035457.

Not requiring the equalities gives A122135, opposite A122129, even-length A122134.

The non-strict version is A351004, opposite A351003, even-length A035363.

The opposite version is A351006, even-length A351007.

Cf. A000070, A018819, A027383, `A087897, `A088218, `A101417, `A344605, ~A345194, ~A350837, ~A350839, A350842, A350844, A351008.

KEYWORD

allocated

nonn

AUTHOR

Gus Wiseman, Jan 31 2022

STATUS

approved

editing

#1 by Gus Wiseman at Fri Jan 28 23:12:07 EST 2022
NAME

allocated for Gus Wiseman

KEYWORD

allocated

STATUS

approved