cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A017886 Expansion of 1/(1-x^9-x^10-x^11-x^12-x^13-x^14-x^15-x^16-x^17-x^18-x^19).

This page as a plain text file.
%I A017886 #22 Sep 25 2024 16:15:00
%S A017886 1,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,2,3,3,4,5,6,7,8,9,11,14,16,19,23,
%T A017886 28,34,41,49,59,72,86,102,122,146,175,210,252,303,366,441,529,635,762,
%U A017886 914,1096,1314,1576,1893,2275
%N A017886 Expansion of 1/(1-x^9-x^10-x^11-x^12-x^13-x^14-x^15-x^16-x^17-x^18-x^19).
%C A017886 Number of compositions of n into parts 9, 10, 11, ..., 19. - _Joerg Arndt_, Oct 12 2014
%H A017886 Vincenzo Librandi, <a href="/A017886/b017886.txt">Table of n, a(n) for n = 0..1000</a>
%H A017886 <a href="/index/Rec#order_19">Index entries for linear recurrences with constant coefficients</a>, signature (0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1).
%F A017886 a(n) = a(n-9) +a(n-10) +a(n-11) +a(n-12) +a(n-13) +a(n-14) +a(n-15) +a(n-16) +a(n-17) +a(n-18) +a(n-19) for n>18. - _Vincenzo Librandi_, Jul 01 2013
%F A017886 a(n) = a(n-1) +a(n-9) -a(n-20) for n>19. - _Tani Akinari_, Sep 29 2014
%t A017886 CoefficientList[Series[1 / (1 - Total[x^Range[9, 19]]), {x, 0, 70}], x] (* _Vincenzo Librandi_, Jul 01 2013 *)
%o A017886 (Magma)
%o A017886 m:=70; R<x>:=PowerSeriesRing(Integers(), m); Coefficients(R!(1/(1-x^9-x^10-x^11-x^12-x^13-x^14-x^15-x^16-x^17-x^18-x^19))); // _Vincenzo Librandi_, Jul 01 2013
%o A017886 (SageMath)
%o A017886 def A017886_list(prec):
%o A017886     P.<x> = PowerSeriesRing(ZZ, prec)
%o A017886     return P( (1-x)/(1-x-x^9+x^(20)) ).list()
%o A017886 A017886_list(70) # _G. C. Greubel_, Sep 25 2024
%Y A017886 Cf. A017877, A017878, A017879, A017880, A017881, A017882, A017883, A017884, A017885, A017887.
%K A017886 nonn,easy
%O A017886 0,19
%A A017886 _N. J. A. Sloane_