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!)
A244165 Number of compositions of n in which the minimal multiplicity of parts equals 2. 2

%I #4 Jun 21 2014 15:59:24

%S 1,0,1,0,7,10,32,31,71,77,222,342,971,1936,4681,9662,19440,38304,

%T 76458,143542,281447,536472,1051100,2039870,4055916,8030958,16168611,

%U 32510383,65705473,132895297,269206168,544002516,1099360989,2217243856,4464684513,8975720721

%N Number of compositions of n in which the minimal multiplicity of parts equals 2.

%H Alois P. Heinz, <a href="/A244165/b244165.txt">Table of n, a(n) for n = 2..400</a>

%p b:= proc(n, i, p, k) option remember; `if`(n=0, p!, `if`(i<1, 0,

%p add(b(n-i*j, i-1, p+j, k)/j!, j=[0, $max(1, k)..n/i])))

%p end:

%p a:= n-> b(n$2, 0, 2) -b(n$2, 0, 3):

%p seq(a(n), n=2..50);

%Y Column k=2 of A242451.

%K nonn

%O 2,5

%A _Alois P. Heinz_, Jun 21 2014

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.)