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!)
A262194 Number of compositions of n such that the maximal distance between two identical parts equals two. 1

%I #8 Sep 13 2017 02:13:33

%S 0,0,0,1,1,4,6,13,23,42,68,119,197,324,530,823,1305,2040,3162,4869,

%T 7431,11076,16680,24831,36785,54210,79546,115967,167359,241726,347184,

%U 496235,707681,1004534,1421178,2003969,2806921,3929770,5479406,7617149,10562169

%N Number of compositions of n such that the maximal distance between two identical parts equals two.

%e a(3) = 1: 111.

%e a(4) = 1: 121.

%e a(5) = 4: 131, 212, 1112, 2111.

%e a(6) = 6: 141, 222, 1113, 1212, 2121, 3111.

%e a(7) = 13: 151, 232, 313, 1114, 1213, 1222, 1312, 2131, 2221, 3121, 4111, 11122, 22111.

%e a(8) = 23: 161, 242, 323, 1115, 1214, 1232, 1313, 1412, 2123, 2141, 2321, 3131, 3212, 4121, 5111, 11123, 11132, 11222, 21113, 22211, 23111, 31112, 32111.

%Y Column k=2 of A262191.

%K nonn

%O 0,6

%A _Alois P. Heinz_, Sep 14 2015

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 24 20:08 EDT 2024. Contains 371963 sequences. (Running on oeis4.)