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!)
A113774 Number of partitions of {1,...,n} into block sizes not a multiple of 3. 1

%I #16 Aug 09 2015 00:30:41

%S 1,1,2,4,11,32,112,415,1732,7678,37115,190016,1039546,5996083,

%T 36528196,233492044,1564012751,10940385668,79762304116,604791685063,

%U 4760047233424,38825234812882,327641201731475,2856835856307428,25702896025566886,238331921722835203

%N Number of partitions of {1,...,n} into block sizes not a multiple of 3.

%H Alois P. Heinz, <a href="/A113774/b113774.txt">Table of n, a(n) for n = 0..500</a>

%F E.g.f.: exp(B(x)), where B(x) is e.g.f. of A011655.

%p nmax := 30: B := add(op(1+(i mod 3),[0,1,1])*x^i/i!,i=0..nmax) : egf := 0 : for i from 0 to nmax do egf := convert(egf+taylor(B^i,x=0,nmax+1)/i!,polynom) : od: for i from 0 to nmax do printf("%d ", i!*coeftayl(egf,x=0,i)) ; od: # _R. J. Mathar_, Feb 06 2008

%p # second Maple program:

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

%p irem(j, 3)=0, 0, binomial(n-1, j-1)*a(n-j)), j=1..n))

%p end:

%p seq(a(n), n=0..30); # _Alois P. Heinz_, Mar 17 2015

%t a=Sum[x^(3i)/(3i)!,{i,1,20}]; Range[0, 20]! CoefficientList[Series[Exp[Exp[x] - 1 - a], {x, 0, 20}], x] (* _Geoffrey Critzer_, Jan 02 2011 *)

%Y Cf. A003724, A115276, A000246, A102736, A088009, A001590.

%K easy,nonn

%O 0,3

%A _Vladeta Jovovic_, Jan 19 2006

%E More terms from _R. J. Mathar_, Feb 06 2008

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 23 22:36 EDT 2024. Contains 371917 sequences. (Running on oeis4.)