A345195 Number of non-alternating anti-run compositions of n.
0, 0, 0, 0, 0, 0, 2, 4, 10, 23, 49, 96, 192, 368, 692, 1299, 2403, 4400, 8029, 14556, 26253, 47206, 84574, 151066, 269244, 478826, 849921, 1506309, 2665829, 4711971, 8319763, 14675786, 25865400, 45552678, 80171353, 141015313, 247905305, 435614270, 765132824
Offset: 0
Keywords
Examples
The a(9) = 23 anti-runs: (1,2,6) (1,2,4,2) (1,2,1,2,3) (1,3,5) (1,2,5,1) (1,2,3,1,2) (2,3,4) (1,3,4,1) (1,2,3,2,1) (4,3,2) (1,4,3,1) (1,3,2,1,2) (5,3,1) (1,5,2,1) (2,1,2,3,1) (6,2,1) (2,1,2,4) (2,1,3,2,1) (2,4,2,1) (3,2,1,2,1) (3,1,2,3) (3,2,1,3) (4,2,1,2)
Links
- Andrew Howroyd, Table of n, a(n) for n = 0..1000
Crossrefs
Programs
Extensions
a(21) onwards from Andrew Howroyd, Jan 31 2024
Comments