login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A329863 Number of compositions of n with cuts-resistance 2. 8
0, 0, 1, 0, 3, 6, 9, 22, 47, 88, 179, 354, 691, 1344, 2617, 5042, 9709, 18632, 35639, 68010, 129556 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,5
COMMENTS
A composition of n is a finite sequence of positive integers summing to n.
For the operation of shortening all runs by 1, cuts-resistance is defined to be the number of applications required to reach an empty word.
LINKS
Claude Lenormand, Deux transformations sur les mots, Preprint, 5 pages, Nov 17 2003.
EXAMPLE
The a(2) = 1 through a(7) = 22 compositions (empty column not shown):
(1,1) (2,2) (1,1,3) (3,3) (1,1,5)
(1,1,2) (1,2,2) (1,1,4) (1,3,3)
(2,1,1) (2,2,1) (4,1,1) (2,2,3)
(3,1,1) (1,1,2,2) (3,2,2)
(1,1,2,1) (1,1,3,1) (3,3,1)
(1,2,1,1) (1,2,2,1) (5,1,1)
(1,3,1,1) (1,1,2,3)
(2,1,1,2) (1,1,3,2)
(2,2,1,1) (1,1,4,1)
(1,4,1,1)
(2,1,1,3)
(2,1,2,2)
(2,2,1,2)
(2,3,1,1)
(3,1,1,2)
(3,2,1,1)
(1,1,2,1,2)
(1,1,2,2,1)
(1,2,1,1,2)
(1,2,2,1,1)
(2,1,1,2,1)
(2,1,2,1,1)
MATHEMATICA
degdep[q_]:=Length[NestWhileList[Join@@Rest/@Split[#]&, q, Length[#]>0&]]-1;
Table[Length[Select[Join@@Permutations/@IntegerPartitions[n], degdep[#]==2&]], {n, 0, 10}]
CROSSREFS
Column k = 2 of A329861.
Compositions with cuts-resistance 1 are A003242.
Compositions with runs-resistance 2 are A329745.
Numbers whose binary expansion has cuts-resistance 2 are A329862.
Binary words with cuts-resistance 2 are conjectured to be A027383.
Cuts-resistance of binary expansion is A319416.
Binary words counted by cuts-resistance are A319421 and A329860.
Sequence in context: A215666 A050889 A327140 * A026095 A061929 A358403
KEYWORD
nonn,more
AUTHOR
Gus Wiseman, Nov 23 2019
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 25 06:42 EDT 2024. Contains 371964 sequences. (Running on oeis4.)