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.

Previous Showing 11-18 of 18 results.

A060959 Table by antidiagonals of generalized Fibonacci numbers: T(n,k) = T(n,k-1) + n*T(n,k-2) with T(n,0)=0 and T(n,1)=1.

Original entry on oeis.org

0, 1, 0, 1, 1, 0, 1, 1, 1, 0, 1, 2, 1, 1, 0, 1, 3, 3, 1, 1, 0, 1, 5, 5, 4, 1, 1, 0, 1, 8, 11, 7, 5, 1, 1, 0, 1, 13, 21, 19, 9, 6, 1, 1, 0, 1, 21, 43, 40, 29, 11, 7, 1, 1, 0, 1, 34, 85, 97, 65, 41, 13, 8, 1, 1, 0, 1, 55, 171, 217, 181, 96, 55, 15, 9, 1, 1, 0, 1, 89, 341, 508, 441, 301, 133, 71, 17, 10, 1, 1, 0
Offset: 0

Views

Author

Henry Bottomley, May 10 2001

Keywords

Examples

			Square array begins as:
  0, 1, 1, 1,  1,  1,  1, ...
  0, 1, 1, 2,  3,  5,  8, ...
  0, 1, 1, 3,  5, 11, 21, ...
  0, 1, 1, 4,  7, 19, 40, ...
  0, 1, 1, 5,  9, 29, 65, ...
  0, 1, 1, 6, 11, 41, 96, ...
		

Crossrefs

Programs

  • GAP
    Flat(List([0..12], n-> List([0..n], k-> (((1+Sqrt(1+4*k))/2)^(n-k) - ((1-Sqrt(1+4*k))/2)^(n-k))/Sqrt(1+4*k) ))); # G. C. Greubel, Jan 15 2020
  • Magma
    [Round( (((1+Sqrt(1+4*k))/2)^(n-k) - ((1-Sqrt(1+4*k))/2)^(n-k) )/Sqrt(1+4*k) ): k in [0..n], n in [0..12]]; // G. C. Greubel, Jan 15 2020
    
  • Maple
    seq(seq( round((((1+sqrt(1+4*k))/2)^(n-k) - ((1-sqrt(1+4*k))/2)^(n-k) )/sqrt(1+4*k)), k=0..n), n=0..12); # G. C. Greubel, Jan 15 2020
  • Mathematica
    T[n_, k_]:= If[n==k==0, 0, Round[(((1+Sqrt[1+4n])/2)^k - ((1-Sqrt[1+4n])/2)^k)/Sqrt[1+4n]]]; Table[T[k, n-k], {n,0,12}, {k,0,n}]//Flatten (* G. C. Greubel, Jan 15 2020 *)
  • PARI
    T(n,k) = ( ((1+sqrt(1+4*n))/2)^k - ((1-sqrt(1+4*n))/2)^k )/sqrt(1+4*n);
    for(n=0,12, for(k=0,n, print1( round(T(k,n-k)), ", "))) \\ G. C. Greubel, Jan 15 2020
    
  • Sage
    [[ round( (((1+sqrt(1+4*k))/2)^(n-k) - ((1-sqrt(1+4*k))/2)^(n-k) )/sqrt(1+4*k) ) for k in (0..n)] for n in (0..12)] # G. C. Greubel, Jan 15 2020
    

Formula

T(n, k) = ( ((1+sqrt(1+4*n))/2)^k - ((1-sqrt(1+4*n))/2)^k )/sqrt(1+4*n).

A109447 Binomial coefficients C(n,k) with n-k odd, read by rows.

Original entry on oeis.org

1, 2, 1, 3, 4, 4, 1, 10, 5, 6, 20, 6, 1, 21, 35, 7, 8, 56, 56, 8, 1, 36, 126, 84, 9, 10, 120, 252, 120, 10, 1, 55, 330, 462, 165, 11, 12, 220, 792, 792, 220, 12, 1, 78, 715, 1716, 1287, 286, 13, 14, 364, 2002, 3432, 2002, 364, 14, 1, 105, 1365, 5005, 6435, 3003, 455, 15
Offset: 1

Views

Author

Philippe Deléham, Aug 27 2005

Keywords

Comments

The same as A119900 without 0's. A reflected version of A034867 or A202064. - Alois P. Heinz, Feb 07 2014
From Vladimir Shevelev, Feb 07 2014: (Start)
Also table of coefficients of polynomials P_1(x)=1, P_2(x)=2, for n>=2, P_(n+1)(x) = 2*P_n(x)+(x-1)* P_(n-1)(x). The polynomials P_n(x)/2^(n-1) are connected with sequences A000045 (x=5), A001045 (x=9), A006130 (x=13), A006131 (x=17), A015440 (x=21), A015441 (x=25), A015442 (x=29), A015443 (x=33), A015445 (x=37), A015446 (x=41), A015447 (x=45), A053404 (x=49); also the polynomials P_n(x) are connected with sequences A000129, A002605, A015518, A063727, A085449, A002532, A083099, A015519, A003683, A002534, A083102, A015520. (End)

Examples

			Starred terms in Pascal's triangle (A007318), read by rows:
1;
1*, 1;
1, 2*, 1;
1*, 3, 3*, 1;
1, 4*, 6, 4*, 1;
1*, 5, 10*, 10, 5*, 1;
1, 6*, 15, 20*, 15, 6*, 1;
1*, 7, 21*, 35, 35*, 21, 7*, 1;
1, 8*, 28, 56*, 70, 56*, 28, 8*, 1;
1*, 9, 36*, 84, 126*, 126, 84*, 36, 9*, 1;
Triangle T(n,k) begins:
1;
2;
1,    3;
4,    4;
1,   10,  5;
6,   20,  6;
1,   21,  35,   7;
8,   56,  56,   8;
1,   36, 126,  84,  9;
10, 120, 252, 120, 10;
		

Crossrefs

Cf. A109446.

Programs

  • Maple
    T:= (n, k)-> binomial(n, 2*k+1-irem(n, 2)):
    seq(seq(T(n, k), k=0..ceil((n-2)/2)), n=1..20);  # Alois P. Heinz, Feb 07 2014
  • Mathematica
    Flatten[ Table[ If[ OddQ[n - k], Binomial[n, k], {}], {n, 0, 15}, {k, 0, n}]] (* Robert G. Wilson v *)

Extensions

More terms from Robert G. Wilson v, Aug 30 2005
Corrected offset by Alois P. Heinz, Feb 07 2014

A128100 Triangle read by rows: T(n,k) is the number of ways to tile a 2 X n rectangle with k pieces of 2 X 2 tiles and n-2k pieces of 1 X 2 tiles (0 <= k <= floor(n/2)).

Original entry on oeis.org

1, 1, 2, 1, 3, 2, 5, 5, 1, 8, 10, 3, 13, 20, 9, 1, 21, 38, 22, 4, 34, 71, 51, 14, 1, 55, 130, 111, 40, 5, 89, 235, 233, 105, 20, 1, 144, 420, 474, 256, 65, 6, 233, 744, 942, 594, 190, 27, 1, 377, 1308, 1836, 1324, 511, 98, 7, 610, 2285, 3522, 2860, 1295, 315, 35, 1, 987, 3970
Offset: 0

Views

Author

Emeric Deutsch, Feb 18 2007

Keywords

Comments

Row sums are the Jacobsthal numbers (A001045). Column 0 yields the Fibonacci numbers (A000045); the other columns yield convolved Fibonacci numbers (A001629, A001628, A001872, A001873, etc.). Sum_{k=0..floor(n/2)} k*T(n,k) = A073371(n-2).
Triangle T(n,k), with zeros omitted, given by (1, 1, -1, 0, 0, 0, 0, 0, 0, 0, ...) DELTA (0, 1, -1, 0, 0, 0, 0, 0, 0, 0, ...) where DELTA is the operator defined in A084938. - Philippe Deléham, Jan 24 2012
Riordan array (1/(1-x-x^2), x^2/(1-x-x^2)), with zeros omitted. - Philippe Deléham, Feb 06 2012
Diagonal sums are A000073(n+2) (tribonacci numbers). - Philippe Deléham, Feb 16 2014
Number of induced subgraphs of the Fibonacci cube Gamma(n-1) that are isomorphic to the hypercube Q_k. Example: row n=4 is 5, 5, 1; indeed, the Fibonacci cube Gamma(3) is a square with an additional pendant edge attached to one of its vertices; it has 5 vertices (i.e., Q_0's), 5 edges (i.e., Q_1's) and 1 square (i.e., Q_2). - Emeric Deutsch, Aug 12 2014
Row n gives the coefficients of the polynomial p(n,x) defined as the numerator of the rational function given by f(n,x) = 1 + (x + 1)/f(n-1,x), where f(x,0) = 1. Conjecture: for n > 2, p(n,x) is irreducible if and only if n is a (prime - 2). - Clark Kimberling, Oct 22 2014

Examples

			Triangle starts:
   1;
   1;
   2,  1;
   3,  2;
   5,  5,  1;
   8, 10,  3;
  13, 20,  9,  1;
  21, 38, 22,  4;
From _Philippe Deléham_, Jan 24 2012: (Start)
Triangle (1, 1, -1, 0, 0, ...) DELTA (0, 1, -1, 0, 0, 0, ...) begins:
   1;
   1,  0;
   2,  1,  0;
   3,  2,  0,  0;
   5,  5,  1,  0,  0;
   8, 10,  3,  0,  0,  0;
  13, 20,  9,  1,  0,  0,  0;
  21, 38, 22,  4,  0,  0,  0,  0; (End)
From _Clark Kimberling_, Oct 22 2014: (Start)
Here are the first 4 polynomials p(n,x) as in Comment and generated by Mathematica program:
  1
  2 +  x
  3 + 2x
  5 + 5x + x^2. (End)
		

Crossrefs

Programs

  • Maple
    G:=1/(1-z-(1+t)*z^2): Gser:=simplify(series(G,z=0,19)): for n from 0 to 16 do P[n]:=sort(coeff(Gser,z,n)) od: for n from 0 to 16 do seq(coeff(P[n],t,j),j=0..floor(n/2)) od; # yields sequence in triangular form
  • Mathematica
    p[x_, n_] := 1 + (x + 1)/p[x, n - 1]; p[x_, 1] = 1;
    Numerator[Table[Factor[p[x, n]], {n, 1, 20}]]  (* Clark Kimberling, Oct 22 2014 *)

Formula

G.f.: 1/(1-z-(1+t)z^2).
Sum_{k=0..n} T(n,k)*x^k = A053404(n), A015447(n), A015446(n), A015445(n), A015443(n), A015442(n), A015441(n), A015440(n), A006131(n), A006130(n), A001045(n+1), A000045(n+1), A000012(n), A010892(n), A107920(n+1), A106852(n), A106853(n), A106854(n), A145934(n), A145976(n), A145978(n), A146078(n), A146080(n), A146083(n), A146084(n) for x = 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0, -1, -2, -3, -4, -5, -6, -7, -8, -9, -10, -11, -12, and -13, respectively. - Philippe Deléham, Jan 24 2012
T(n,k) = T(n-1,k) + T(n-2,k) + T(n-2,k-1). - Philippe Deléham, Jan 24 2012
G.f.: T(0)/2, where T(k) = 1 + 1/(1 - (2*k+1+ x*(1+y))*x/((2*k+2+ x*(1+y))*x + 1/T(k+1) )); (continued fraction). - Sergei N. Gladkovskii, Nov 06 2013
T(n,k) = Sum_{i=k..floor(n/2)} binomial(n-i,i)*binomial(i,k). See Corollary 3.3 in the Klavzar et al. link. - Emeric Deutsch, Aug 12 2014

A367454 Decimal expansion of (-1 + sqrt(29))/14 = 1/A223140.

Original entry on oeis.org

3, 1, 3, 2, 2, 6, 0, 5, 7, 6, 5, 2, 4, 6, 4, 5, 7, 3, 6, 6, 0, 7, 6, 5, 0, 3, 5, 1, 1, 0, 0, 2, 3, 5, 3, 9, 7, 3, 5, 3, 6, 5, 7, 2, 5, 8, 3, 1, 7, 7, 0, 6, 3, 1, 2, 6, 2, 8, 8, 4, 9, 0, 5, 0, 0, 1, 1, 8, 8, 9, 9, 7, 3, 4, 4, 8, 3, 2, 7, 6, 3, 7, 7, 6, 9, 0, 2, 4, 1, 2, 9, 7, 7, 1, 3, 1
Offset: 0

Views

Author

Wolfdieter Lang, Jan 05 2024

Keywords

Comments

c^n = 7*A(-(n+1)) + A(-n)*phi29, for n >= 0, where phi29 = A223140, and A(-n) = A015442(-n) = sqrt(-7)^(-(n+1))*S(-(n+1), 1/sqrt(-7)) = -(i/sqrt(7))^(n+1)*S(n-1, i/sqrt(7)), with i = sqrt(-1) and the S-Chebyshev polynomials (see A049310), where S(-n, x) = -S(n-2, x), for n >= 1, and S(n, -x) = (-1)^n*S(n, x).

Examples

			c = 0.3132260576524645736607650351100235397353657258317706312628...
		

Crossrefs

Programs

  • Mathematica
    Flatten[First[RealDigits[(-1 + Sqrt[29])/14,10,96]]] (* Stefano Spezia, Jan 05 2024 *)

Formula

c = 1/phi29 = (-1 + phi(29))/7, with phi29 = A223140.

A172352 Triangle t(n,k) read by rows: fibonomial ratios c(n)/(c(k)*c(n-k)) where c are partial products of a generalized Fibonacci sequence with multiplier m=7.

Original entry on oeis.org

1, 1, 1, 1, 1, 1, 1, 8, 8, 1, 1, 15, 120, 15, 1, 1, 71, 1065, 1065, 71, 1, 1, 176, 12496, 23430, 12496, 176, 1, 1, 673, 118448, 1051226, 1051226, 118448, 673, 1, 1, 1905, 1282065, 28205430, 133505702, 28205430, 1282065, 1905, 1, 1, 6616, 12603480
Offset: 0

Views

Author

Roger L. Bagula and Gary W. Adamson, Feb 01 2010

Keywords

Comments

Start from the generalized Fibonacci sequence A015442 and its partial products c(n) = 1, 1, 1, 8, 120, 8520, 1499520, 1009176960, 1922482108800... Then t(n,k) = c(n)/(c(k)*c(n-k)).
Row sums are 1, 2, 3, 18, 152, 2274, 48776, 2340696, 192484504, 27026705688, 6379354108992,...

Examples

			1;
1, 1;
1, 1, 1;
1, 8, 8, 1;
1, 15, 120, 15, 1;
1, 71, 1065, 1065, 71, 1;
1, 176, 12496, 23430, 12496, 176, 1;
1, 673, 118448, 1051226, 1051226, 118448, 673, 1;
1, 1905, 1282065, 28205430, 133505702, 28205430, 1282065, 1905, 1;
1, 6616, 12603480, 1060267755, 12440474992, 12440474992, 1060267755, 12603480, 6616, 1;
		

Crossrefs

CF. A010048 (m=1), A015109 (m=2), A172351 (m=6).

Programs

  • Mathematica
    Clear[f, c, a, t];
    f[0, a_] := 0; f[1, a_] := 1;
    f[n_, a_] := f[n, a] = f[n - 1, a] + a*f[n - 2, a];
    c[n_, a_] := If[n == 0, 1, Product[f[i, a], {i, 1, n}]];
    t[n_, m_, a_] := c[n, a]/(c[m, a]*c[n - m, a]);
    Table[Table[Table[t[n, m, a], {m, 0, n}], {n, 0, 10}], {a, 1, 10}];
    Table[Flatten[Table[Table[t[n, m, a], {m, 0, n}], {n, 0, 10}]], {a, 1, 10}]

A242763 a(n) = 1 for n <= 7; a(n) = a(n-5) + a(n-7) for n>7.

Original entry on oeis.org

1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 3, 3, 4, 4, 4, 5, 5, 7, 7, 8, 9, 9, 12, 12, 15, 16, 17, 21, 21, 27, 28, 32, 37, 38, 48, 49, 59, 65, 70, 85, 87, 107, 114, 129, 150, 157, 192, 201, 236, 264, 286, 342, 358, 428, 465, 522, 606, 644, 770, 823, 950, 1071, 1166, 1376
Offset: 1

Views

Author

Keywords

Comments

Generalized Fibonacci growth sequence using i = 2 as maturity period, j = 5 as conception period, and k = 2 as growth factor.
Maturity period is the number of periods that a Fibonacci tree node needs for being able to start developing branches. Conception period is the number of periods in a Fibonacci tree node needed to develop new branches since its maturity. Growth factor is the number of additional branches developed by a Fibonacci tree node, plus 1, and equals the base of the exponential series related to the given tree if maturity factor would be zero. Standard Fibonacci would use 1 as maturity period, 1 as conception period, and 2 as growth factor as the series becomes equal to 2^n with a maturity period of 0. Related to Lucas sequences.

Examples

			For n = 13 the a(13) = a(8) + a(6) = 2 + 1 = 3.
		

Crossrefs

Cf. A000079 (i = 0, j = 1, k = 2), A000244 (i = 0, j = 1, k = 3), A000302 (i = 0, j = 1, k = 4), A000351 (i = 0, j = 1, k = 5), A000400 (i = 0, j = 1, k = 6), A000420 (i = 0, j = 1, k = 7), A001018 (i = 0, j = 1, k = 8), A001019 (i = 0, j = 1, k = 9), A011557 (i = 0, j = 1, k = 10), A001020 (i = 0, j = 1, k = 11), A001021 (i = 0, j = 1, k = 12), A016116 (i = 0, j = 2, k = 2), A108411 (i = 0, j = 2, k = 3), A213173 (i = 0, j = 2, k = 4), A074872 (i = 0, j = 2, k = 5), A173862 (i = 0, j = 3, k = 2), A127975 (i = 0, j = 3, k = 3), A200675 (i = 0, j = 4, k = 2), A111575 (i = 0, j = 4, k = 3), A000045 (i = 1, j = 1, k = 2), A001045 (i = 1, j = 1, k = 3), A006130 (i = 1, j = 1, k = 4), A006131 (i = 1, j = 1, k = 5), A015440 (i = 1, j = 1, k = 6), A015441 (i = 1, j = 1, k = 7), A015442 (i = 1, j = 1, k = 8), A015443 (i = 1, j = 1, k = 9), A015445 (i = 1, j = 1, k = 10), A015446 (i = 1, j = 1, k = 11), A015447 (i = 1, j = 1, k = 12), A000931 (i = 1, j = 2, k = 2), A159284 (i = 1, j = 2, k = 3), A238389 (i = 1, j = 2, k = 4), A097041 (i = 1, j = 2, k = 10), A079398 (i = 1, j = 3, k = 2), A103372 (i = 1, j = 4, k = 2), A103373 (i = 1, j = 5, k = 2), A103374 (i = 1, j = 6, k = 2), A000930 (i = 2, j = 1, k = 2), A077949 (i = 2, j = 1, k = 3), A084386 (i = 2, j = 1, k = 4), A089977 (i = 2, j = 1, k = 5), A178205 (i = 2, j = 1, k = 11), A103609 (i = 2, j = 2, k = 2), A077953 (i = 2, j = 2, k = 3), A226503 (i = 2, j = 3, k = 2), A122521 (i = 2, j = 6, k = 2), A003269 (i = 3, j = 1, k = 2), A052942 (i = 3, j = 1, k = 3), A005686 (i = 3, j = 2, k = 2), A237714 (i = 3, j = 2, k = 3), A238391 (i = 3, j = 2, k = 4), A247049 (i = 3, j = 3, k = 2), A077886 (i = 3, j = 3, k = 3), A003520 (i = 4, j = 1, k = 2), A108104 (i = 4, j = 2, k = 2), A005708 (i = 5, j = 1, k = 2), A237716 (i = 5, j = 2, k = 3), A005709 (i = 6, j = 1, k = 2), A122522 (i = 6, j = 2, k = 2), A005710 (i = 7, j = 1, k = 2), A237718 (i = 7, j = 2, k = 3), A017903 (i = 8, j = 1, k = 2).

Programs

  • Magma
    [n le 7 select 1 else Self(n-5)+Self(n-7): n in [1..70]]; // Vincenzo Librandi, Nov 30 2016
    
  • Mathematica
    LinearRecurrence[{0, 0, 0, 0, 1, 0, 1}, {1, 1, 1, 1, 1, 1, 1}, 70] (*  or *)
    CoefficientList[ Series[(1+x+x^2+x^3+x^4)/(1-x^5-x^7), {x, 0, 70}], x] (* Robert G. Wilson v, Nov 25 2016 *)
    nxt[{a_,b_,c_,d_,e_,f_,g_}]:={b,c,d,e,f,g,a+c}; NestList[nxt,{1,1,1,1,1,1,1},70][[;;,1]] (* Harvey P. Dale, Oct 22 2024 *)
  • PARI
    Vec(x*(1+x+x^2+x^3+x^4)/((1-x+x^2)*(1+x-x^3-x^4-x^5)) + O(x^100)) \\ Colin Barker, Oct 27 2016
    
  • SageMath
    @CachedFunction # a = A242763
    def a(n): return 1 if n<8 else a(n-5) +a(n-7)
    [a(n) for n in range(1,76)] # G. C. Greubel, Oct 23 2024

Formula

Generic a(n) = 1 for n <= i+j; a(n) = a(n-j) + (k-1)*a(n-(i+j)) for n>i+j where i = maturity period, j = conception period, k = growth factor.
G.f.: x*(1+x+x^2+x^3+x^4) / ((1-x+x^2)*(1+x-x^3-x^4-x^5)). - Colin Barker, Oct 09 2016
Generic g.f.: x*(Sum_{l=0..j-1} x^l) / (1-x^j-(k-1)*x^(i+j)), with i > 0, j > 0 and k > 1.

A317016 Triangle read by rows: T(0,0) = 1; T(n,k) = T(n-1,k) + 7 * T(n-2,k-1) for k = 0..floor(n/2). T(n,k)=0 for n or k < 0.

Original entry on oeis.org

1, 1, 1, 7, 1, 14, 1, 21, 49, 1, 28, 147, 1, 35, 294, 343, 1, 42, 490, 1372, 1, 49, 735, 3430, 2401, 1, 56, 1029, 6860, 12005, 1, 63, 1372, 12005, 36015, 16807, 1, 70, 1764, 19208, 84035, 100842, 1, 77, 2205, 28812, 168070, 352947, 117649, 1, 84, 2695, 41160, 302526, 941192, 823543
Offset: 0

Views

Author

Zagros Lalo, Jul 19 2018

Keywords

Comments

The numbers in rows of the triangle are along skew diagonals pointing top-right in center-justified triangle given in A013614 ((1+7*x)^n) and along skew diagonals pointing top-left in center-justified triangle given in A027466 ((7+x)^n).
The coefficients in the expansion of 1/(1-x-7*x^2) are given by the sequence generated by the row sums.
The row sums are Generalized Fibonacci numbers (see A015442).
If s(n) is the row sum at n, then the ratio s(n)/s(n-1) is approximately 3.192582403567252..., when n approaches infinity (see A223140).

Examples

			Triangle begins:
  1;
  1;
  1,  7;
  1, 14;
  1, 21,   49;
  1, 28,  147;
  1, 35,  294,   343;
  1, 42,  490,  1372;
  1, 49,  735,  3430,   2401;
  1, 56, 1029,  6860,  12005;
  1, 63, 1372, 12005,  36015,  16807;
  1, 70, 1764, 19208,  84035, 100842;
  1, 77, 2205, 28812, 168070, 352947, 117649;
  1, 84, 2695, 41160, 302526, 941192, 823543;
		

References

  • Shara Lalo and Zagros Lalo, Polynomial Expansion Theorems and Number Triangles, Zana Publishing, 2018, ISBN: 978-1-9995914-0-3, pages 70, 96.

Crossrefs

Row sums give A015442.

Programs

  • GAP
    Flat(List([0..13],n->List([0..Int(n/2)],k->7^k*Binomial(n-k,k)))); # Muniru A Asiru, Jul 19 2018
  • Mathematica
    t[0, 0] = 1; t[n_, k_] := If[n < 0 || k < 0, 0, t[n - 1, k] + 7 t[n - 2, k - 1]]; Table[t[n, k], {n, 0, 13}, {k, 0, Floor[n/2]}] // Flatten
    Table[7^k Binomial[n - k, k], {n, 0, 13}, {k, 0, Floor[n/2]}] // Flatten

Formula

T(n,k) = 7^k*binomial(n-k,k), n >= 0, 0 <= k <= floor(n/2).

A367456 Expansion of (1 - x)/(1 - x - 7*x^2).

Original entry on oeis.org

1, 0, 7, 7, 56, 105, 497, 1232, 4711, 13335, 46312, 139657, 463841, 1441440, 4688327, 14778407, 47596696, 151045545, 484222417, 1541541232, 4931098151, 15721886775, 50239573832, 160292781257, 511969798081, 1634019266880, 5217807853447, 16655942721607, 53180597695736, 169772196746985
Offset: 0

Views

Author

Wolfdieter Lang, Jan 16 2024

Keywords

Comments

a(n) appears in the formula for powers of the fundamental algebraic number c = (1 + sqrt(29))/2 = A223140 of the quadratic number field Q(sqrt(29)): c^n = a(n) + A015442(n), for n >= 0. The formulas given below and in A015442 in terms of S-Chebyshev polynomials are valid also for c^(-n), for n >= 0, with 1/c = (-1 + sqrt(29))/14 = A367454.
a(n) is the number of compositions (ordered partitions) of n into parts >= 2 and there are 7 sorts of each part. - Joerg Arndt, Jan 16 2024

Crossrefs

Cf.: A010484, A015442 (partial sums), A049310, A223140, A367454.

Programs

  • Mathematica
    LinearRecurrence[{1,7},{1,0},30] (* James C. McMahon, Jan 16 2024 *)

Formula

a(n) = a(n-1) + 7*a(n-2), with a(0) = 1, a(1) = 0.
G.f.: (1 - x)/(1 - x - 7*x^2).
a(n) = 7*A015442(n-1), with A015442(-1) = 1/7.
a(n) = 7*(-i*sqrt(7))^(n-2)*S(n-2, i/sqrt(7)), with i = sqrt(-1) and the S-Chebyshev polynomial (see A049310). S(-2, x) = -1 and S(-1, x) = 0. The Fibonacci polynomials are F(n, x) = (-i)^(n-1)*S(n-1, i*x).
Previous Showing 11-18 of 18 results.