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!)
A306028 Number of length-n restricted growth strings (RGS) with growth <= four and first element in [4]. 4

%I #9 Jun 17 2018 14:05:47

%S 1,4,26,214,2096,23578,297692,4150798,63148652,1038505282,18324165284,

%T 344791676446,6883214479964,145160792680210,3221934217192772,

%U 75022325591768782,1827426669105650588,46448931646662304066,1229212096172351894852,33800410177112965182910

%N Number of length-n restricted growth strings (RGS) with growth <= four and first element in [4].

%H Alois P. Heinz, <a href="/A306028/b306028.txt">Table of n, a(n) for n = 0..459</a>

%F E.g.f.: exp(Sum_{j=1..4} (exp(j*x)-1)/j).

%p b:= proc(n, m) option remember; `if`(n=0, 1,

%p add(b(n-1, max(m, j)), j=1..m+4))

%p end:

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

%p seq(a(n), n=0..25);

%p # second Maple program:

%p a:= n-> n!*coeff(series(exp(add((exp(j*x)-1)/j, j=1..4)), x, n+1), x, n):

%p seq(a(n), n=0..25);

%Y Column k=4 of A306024.

%Y Cf. A305964.

%K nonn

%O 0,2

%A _Alois P. Heinz_, Jun 17 2018

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 19 12:14 EDT 2024. Contains 371792 sequences. (Running on oeis4.)