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!)
A008676 Expansion of 1/((1-x^3)*(1-x^5)). 8

%I #42 Nov 04 2022 19:24:33

%S 1,0,0,1,0,1,1,0,1,1,1,1,1,1,1,2,1,1,2,1,2,2,1,2,2,2,2,2,2,2,3,2,2,3,

%T 2,3,3,2,3,3,3,3,3,3,3,4,3,3,4,3,4,4,3,4,4,4,4,4,4,4,5,4,4,5,4,5,5,4,

%U 5,5,5,5,5,5,5,6,5,5

%N Expansion of 1/((1-x^3)*(1-x^5)).

%C a(n) gives the number of partitions of n using only the parts 3 and 5. e.g. a(25)=2: 5+5+5+5+5 and 5+5+3+3+3+3+3+3. - _Andrew Baxter_, Jun 20 2011

%C a(n) gives the number of partitions of n+8 involving both a 3 and a 5. e.g. a(25)=2 and we may write 33 as 5+5+5+5+5+5+3 and 5+5+5+3+3+3+3+3+3. 11*3 doesn't count as no 5 is involved. - _Jon Perry_, Jul 03 2004

%C Conjecture: a(n) = Floor(2*(n + 3)/3) - Floor(3*(n + 3)/5). - _John W. Layman_, Sep 23 2009

%C Also, it appears that a(n) gives the number of distinct multisets of n-1 integers, each of which is -2, +3, or +4, such that the sum of the members of each multiset is 2. E.g., for n=5, the multiset {-2,-2,3,3}, and no others, of n-1=4 members, sums to 2, so a(5)=1. - _John W. Layman_, Sep 23 2009

%C Appears to be the number of ordered triples summing to n such that 2x = 3y + 4z, ranked by A357489. An unordered version appears to be A357849, ranked by A358102. - _Gus Wiseman_, Nov 04 2022

%H Vincenzo Librandi, <a href="/A008676/b008676.txt">Table of n, a(n) for n = 0..1000</a>

%H INRIA Algorithms Project, <a href="http://ecs.inria.fr/services/structure?nbr=217">Encyclopedia of Combinatorial Structures 217</a>

%H <a href="/index/Rec#order_08">Index entries for linear recurrences with constant coefficients</a>, signature (0,0,1,0,1,0,0,-1).

%F G.f.: 1/( (1-x^3) * (1-x^5) ).

%F a(n) = a(n-3) + a(n-5) - a(n-8), a(0)=a(3)=a(5)=a(6)=1, a(1)=a(2)=a(4) =a(6)=a(7)=0.

%F a(n) = floor((2*n+5)/5) - floor((n+2)/3). - _Tani Akinari_, Aug 07 2013

%p a := proc (n) option remember; if n < 0 then return 0 elif n = 0 then return 1 else return a(n-3)+a(n-5)-a(n-8) end if end proc

%t CoefficientList[Series[1/((1-x^3)(1-x^5)), {x, 0, 100}], x] (* _Vincenzo Librandi_, Jun 23 2013 *)

%o (PARI) Vec(O(x^99)+1/(1-x^3)/(1-x^5)) \\ _Charles R Greathouse IV_, Jun 20 2011

%o (Magma) R<x>:=PowerSeriesRing(Integers(), 100); Coefficients(R!( 1/((1-x^3)*(1-x^5)) )); // _G. C. Greubel_, Sep 08 2019

%o (Sage)

%o def A008676_list(prec):

%o P.<x> = PowerSeriesRing(ZZ, prec)

%o return P(1/((1-x^3)*(1-x^5))).list()

%o A008676_list(100) # _G. C. Greubel_, Sep 08 2019

%o (GAP) a:=[1,0,0,1,0,1,1,0];; for n in [9..100] do a[n]:=a[n-3]+a[n-5]-a[n-8]; od; a; # _G. C. Greubel_, Sep 08 2019

%Y Cf. A103221.

%K nonn,easy

%O 0,16

%A _N. J. A. Sloane_

%E Edited by _Andrew Baxter_, Jun 20, 2011

%E Typo in name fixed by _Vincenzo Librandi_, Jun 23 2013

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 04:42 EDT 2024. Contains 371964 sequences. (Running on oeis4.)