OFFSET
1,17
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..1000
Index entries for linear recurrences with constant coefficients, signature (0,1,1,0,-1,1,0,-1,-1,0,1).
FORMULA
G.f.: x^11/((1-x^2)*(1-x^3)*(1-x^6)). - Tani Akinari, Oct 27 2014
EXAMPLE
2,4,5 for n=11 is the smallest such triangle.
MATHEMATICA
CoefficientList[Series[x^10/((1-x^2)(1-x^3)(1-x^6)), {x, 0, 100}], x] (* Vincenzo Librandi, Oct 28 2014 *)
PROG
(PARI) concat(vector(11, i, 0), Vec(1/(1-x^2)/(1-x^3)/(1-x^6)+O(x^99))) \\ Charles R Greathouse IV, Oct 28 2014
(Sage)
def A024163_list(prec):
P.<x> = PowerSeriesRing(QQ, prec)
return P( x^11/((1-x^2)*(1-x^3)*(1-x^6)) ).list()
a=A024163_list(100); a[1:] # G. C. Greubel, Jul 03 2021
(Magma)
R<x>:=PowerSeriesRing(Rationals(), 100);
[0, 0, 0, 0, 0, 0, 0, 0, 0, 0] cat Coefficients(R!( x^11/((1-x^2)*(1-x^3)*(1-x^6)) )); // G. C. Greubel, Jul 03 2021
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
STATUS
approved