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-20 of 35 results. Next

A062114 a(n) = 2*Fibonacci(n) - (1 - (-1)^n)/2.

Original entry on oeis.org

0, 1, 2, 3, 6, 9, 16, 25, 42, 67, 110, 177, 288, 465, 754, 1219, 1974, 3193, 5168, 8361, 13530, 21891, 35422, 57313, 92736, 150049, 242786, 392835, 635622, 1028457, 1664080, 2692537, 4356618, 7049155, 11405774, 18454929, 29860704, 48315633, 78176338, 126491971
Offset: 0

Views

Author

Olivier Gérard, Jun 05 2001

Keywords

Examples

			a(4) = a(3) + a(2) + (1+1)/2 = 3 + 2 + 1 = 6.
G.f. = x + 2*x^2 + 3*x^3 + 6*x^4 + 9*x^5 + 16*x^6 + 25*x^7 + ... - _Michael Somos_, Oct 17 2018
		

Crossrefs

Programs

  • Magma
    m:=30; R:=PowerSeriesRing(Integers(), m); [0] cat Coefficients(R!(x*(1+x-x^2)/((1-x)*(1+x)*(1-x-x^2)))); // G. C. Greubel, Oct 16 2018
  • Maple
    A062114 := proc(n)
        2*combinat[fibonacci](n)-(1-(-1)^n)/2 ;
    end proc: # R. J. Mathar, Aug 12 2012
    # second Maple program:
    a:= n-> (<<0|1|0|0>, <0|0|1|0>, <0|0|0|1>, <-1|-1|2|1>>^n.<<[$0..3][]>>)[1$2]:
    seq(a(n), n=0..50);  # Alois P. Heinz, Jul 01 2018
  • Mathematica
    Join[{a=0,b=1},Table[If[EvenQ[a],c=a+b+1,c=a+b];a=b;b=c,{n,0,5!}]](* Vladimir Joseph Stephan Orlovsky, Jan 10 2011 *)
    Table[2Fibonacci[n]-(1-(-1)^n)/2,{n,0,40}] (* or *) LinearRecurrence[ {1,2,-1,-1},{0,1,2,3},41] (* Harvey P. Dale, Nov 02 2011 *)
  • PARI
    { h=-1; g=1; for (n=0, 400, f=g + h; h=g; g=f; write("b062114.txt", n, " ", 2*f - (1 - (-1)^n)/2) ) } \\ Harry J. Smith, Aug 01 2009
    
  • PARI
    x='x+O('x^30); concat([0], Vec(x*(1+x-x^2)/((1-x)*(1+x)*(1-x-x^2) ))) \\ G. C. Greubel, Oct 16 2018
    

Formula

A bistable recurrence; Fibonacci with a grain of salt: a(0)=0; a(1)=1; a(n) = a(n-1) + a(n-2) + (1 + (-1)^n)/2.
a(n+1) = Sum_{k=0..n} binomial(n-floor(k/2), floor(k/2)). - Benoit Cloitre, May 05 2005
Starting with 1, equals row sums of triangle A134513. - Gary W. Adamson, Oct 28 2007
a(n) = a(n-1) + 2*a(n-2) - a(n-3) - a(n-4), n > 3. - Harvey P. Dale, Nov 02 2011
G.f.: x*(1+x-x^2)/( (1-x)*(1+x)*(1-x-x^2) ). - R. J. Mathar, Aug 12 2012
a(n) = -(-1)^n * a(-n) for all n in Z. - Michael Somos, Oct 17 2018

Extensions

Definition corrected by Harry J. Smith, Aug 01 2009

A007179 Dual pairs of integrals arising from reflection coefficients.

Original entry on oeis.org

0, 1, 1, 4, 6, 16, 28, 64, 120, 256, 496, 1024, 2016, 4096, 8128, 16384, 32640, 65536, 130816, 262144, 523776, 1048576, 2096128, 4194304, 8386560, 16777216, 33550336, 67108864, 134209536, 268435456, 536854528, 1073741824, 2147450880, 4294967296, 8589869056
Offset: 0

Views

Author

Keywords

Examples

			From _Gus Wiseman_, Feb 26 2022: (Start)
Also the number of integer compositions of n with at least one odd part. For example, the a(1) = 1 through a(5) = 16 compositions are:
  (1)  (1,1)  (3)      (1,3)      (5)
              (1,2)    (3,1)      (1,4)
              (2,1)    (1,1,2)    (2,3)
              (1,1,1)  (1,2,1)    (3,2)
                       (2,1,1)    (4,1)
                       (1,1,1,1)  (1,1,3)
                                  (1,2,2)
                                  (1,3,1)
                                  (2,1,2)
                                  (2,2,1)
                                  (3,1,1)
                                  (1,1,1,2)
                                  (1,1,2,1)
                                  (1,2,1,1)
                                  (2,1,1,1)
                                  (1,1,1,1,1)
(End)
		

References

  • N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).

Crossrefs

Column k=2 of A309748.
Odd bisection is A000302.
Even bisection is A006516 = 2^(n-1)*(2^n - 1).
The complement is counted by A077957, internal version A027383.
The internal case is A274230, even bisection A134057.
A000045(n-1) counts compositions without odd parts, non-singleton A077896.
A003242 counts Carlitz compositions.
A011782 counts compositions.
A034871, A097805, and A345197 count compositions by alternating sum.
A052952 (or A074331) counts non-singleton compositions without even parts.

Programs

  • Magma
    [Floor(2^n/2-2^(n/2)*(1+(-1)^n)/4): n in [0..40]]; // Vincenzo Librandi, Aug 20 2011
    
  • Maple
    f := n-> if n mod 2 = 0 then 2^(n-1)-2^((n-2)/2) else 2^(n-1); fi;
  • Mathematica
    LinearRecurrence[{2,2,-4},{0,1,1},30] (* Harvey P. Dale, Nov 30 2015 *)
    Table[2^(n-1)-If[EvenQ[n],2^(n/2-1),0],{n,0,15}] (* Gus Wiseman, Feb 26 2022 *)
  • PARI
    Vec(x*(1-x)/((1-2*x)*(1-2*x^2)) + O(x^50)) \\ Michel Marcus, Jan 28 2016

Formula

From Paul Barry, Apr 28 2004: (Start)
Binomial transform is (A000244(n)+A001333(n))/2.
G.f.: x*(1-x)/((1-2*x)*(1-2*x^2)).
a(n) = 2*a(n-1)+2*a(n-2)-4*a(n-3).
a(n) = 2^n/2-2^(n/2)*(1+(-1)^n)/4. (End)
G.f.: (1+x*Q(0))*x/(1-x), where Q(k)= 1 - 1/(2^k - 2*x*2^(2*k)/(2*x*2^k - 1/(1 + 1/(2*2^k - 8*x*2^(2*k)/(4*x*2^k + 1/Q(k+1)))))); (continued fraction). - Sergei N. Gladkovskii, May 22 2013
a(n) = A011782(n+2) - A077957(n) - Gus Wiseman, Feb 26 2022

A054450 Triangle of partial row sums of unsigned triangle A049310(n,m), n >= m >= 0 (Chebyshev S-polynomials).

Original entry on oeis.org

1, 1, 1, 2, 1, 1, 3, 3, 1, 1, 5, 4, 4, 1, 1, 8, 8, 5, 5, 1, 1, 13, 12, 12, 6, 6, 1, 1, 21, 21, 17, 17, 7, 7, 1, 1, 34, 33, 33, 23, 23, 8, 8, 1, 1, 55, 55, 50, 50, 30, 30, 9, 9, 1, 1, 89, 88, 88, 73, 73, 38, 38, 10, 10, 1, 1, 144, 144, 138, 138, 103, 103, 47, 47, 11, 11, 1, 1
Offset: 0

Views

Author

Wolfdieter Lang, Apr 27 2000 and May 08 2000

Keywords

Comments

In the language of the Shapiro et al. reference (given in A053121) such a lower triangular (ordinary) convolution array, considered as a matrix, belongs to the Riordan-group. The G.f. for the row polynomials p(n,x) (increasing powers of x) is Fib(z)/(1-x*z/(1-z^2)) where Fib(x)=1/(1-x-x^2) = g.f. for A000045(n+1) (Fibonacci numbers without 0).
This is the first member of the family of Riordan-type matrices obtained from the unsigned convolution matrix A049310 by repeated application of the partial row sums procedure.

Examples

			Triangle begins as:
   1;
   1,  1;
   2,  1,  1;
   3,  3,  1,  1;
   5,  4,  4,  1,  1;
   8,  8,  5,  5,  1,  1;
  13, 12, 12,  6,  6,  1,  1;
  21, 21, 17, 17,  7,  7,  1,  1;
  34, 33, 33, 23, 23,  8,  8,  1,  1;
  55, 55, 50, 50, 30, 30,  9,  9,  1, 1;
  89, 88, 88, 73, 73, 38, 38, 10, 10, 1, 1;
  ...
Fourth row polynomial (n=3): p(3,x) = 3 + 3*x + x^2 + x^3.
		

Crossrefs

Programs

Formula

T(n, m) = Sum_{k=m..n} |A049310(n, k)| (sequence of partial row sums in column m).
Column m recursion: T(n, m) = Sum_{j=m..n} T(j-1, m)*|A049310(n-j, 0)| + |A049310(n, m)|, n >= m >= 0, a(n, m) := 0 if n
T(n, 0) = A000045(n+1).
T(n, 1) = A052952(n-1).
T(n, 2) = A054451(n-2).
Sum_{k=0..n} T(n, k) = A029907(n) = A054453(n, 0).
G.f. for column m: Fib(x)*(x/(1-x^2))^m, m >= 0, with Fib(x) = g.f. A000045(n+1).
The corresponding square array has T(n, k) = Sum_{j=0..floor(k/2)} binomial(n+k-j, j). - Paul Barry, Oct 23 2004
From G. C. Greubel, Jul 25 2022: (Start)
T(n, 3) = A099571(n-3).
T(n, 4) = A099572(n-4).
T(n, n) = T(n, n-1) = A000012(n).
T(n, n-2) = A000027(n), n >= 2.
T(n, n-3) = A000027(n), n >= 3.
T(n, n-4) = A152948(n), n >= 4.
T(n, n-5) = A152948(n), n >= 5.
T(n, n-6) = A038793(n), n >= 6.
T(n, n-8) = A038794(n), n >= 8.
T(n, n-10) = A038795(n), n >= 10.
T(n, n-12) = A038796(n), n >= 12. (End)

A054451 Third column of triangle A054450 (partial row sums of unsigned Chebyshev triangle A049310).

Original entry on oeis.org

1, 1, 4, 5, 12, 17, 33, 50, 88, 138, 232, 370, 609, 979, 1596, 2575, 4180, 6755, 10945, 17700, 28656, 46356, 75024, 121380, 196417, 317797, 514228, 832025, 1346268, 2178293, 3524577, 5702870, 9227464, 14930334, 24157816, 39088150, 63245985, 102334135
Offset: 0

Author

Wolfdieter Lang, Apr 27 2000

Keywords

Comments

Equals triangle A173284 * [1, 2, 3, ...]. - Gary W. Adamson, Mar 03 2010

Crossrefs

Programs

  • Maple
    BB:=1/(1-k^2)^2/(1-k-k^2): seq(coeff(series(BB, k, n+1), k, n), n=0..50); # Zerinvary Lajos, May 16 2007
  • Mathematica
    LinearRecurrence[{1,3,-2,-3,1,1},{1,1,4,5,12,17},40] (* Harvey P. Dale, Oct 06 2024 *)
  • PARI
    Vec(-1/((x-1)^2*(x+1)^2*(x^2+x-1)) + O(x^100)) \\ Colin Barker, Jun 14 2015

Formula

a(n) = A054450(n+2, 2).
G.f.: Fib(x)/(1-x^2)^2, with Fib(x)=1/(1-x-x^2) = g.f. A000045 (Fibonacci numbers without 0).
a(2*k) = A027941(k)= F(2*k+3)-1; a(2*k+1)= F(2*(k+2))-(k+2)= A054452(k), k >= 0.
a(n-2) = Fibonacci(n+1) - binomial(n-floor(n/2), floor(n/2)), or a(n-2) = Sum_{i=0..floor(n/2)-1} binomial(n-i, i). - Jon Perry, Mar 18 2004
a(n) = Sum_{k=0..floor(n/2)} binomial(n-k+2, k). - Paul Barry, Oct 23 2004

Extensions

More terms from James Sellers, Apr 28 2000

A054452 Partial sums of A027941(n-1) with a(-1) = 0.

Original entry on oeis.org

0, 0, 1, 5, 17, 50, 138, 370, 979, 2575, 6755, 17700, 46356, 121380, 317797, 832025, 2178293, 5702870, 14930334, 39088150, 102334135, 267914275, 701408711, 1836311880, 4807526952, 12586269000, 32951280073, 86267571245, 225851433689, 591286729850
Offset: 0

Author

Wolfdieter Lang, Apr 27 2000

Keywords

Crossrefs

Programs

  • Magma
    I:=[0,0,1,5]; [n le 4 select I[n] else 5*Self(n-1)-8*Self(n-2)+5*Self(n-3)-Self(n-4): n in [1..30]]; // Vincenzo Librandi, Mar 26 2015
    
  • Maple
    a[0]:=0: a[1]:=1: for n from 2 to 50 do a[n] := 3*a[n-1]-a[n-2] od: seq(a[n]-n, n=0..27); # Zerinvary Lajos, Mar 20 2008
    with(combinat): seq(fibonacci(2*n)-n, n=0..27); # Zerinvary Lajos, Jun 19 2008
    g:=z/(1-3*z+z^2): gser:=series(g, z=0, 43): seq(abs(coeff(gser, z, n)-n), n=0..27); # Zerinvary Lajos, Mar 22 2009
  • Mathematica
    CoefficientList[Series[x^2 / ((1 - x)^2 (1 - 3 x + x^2)), {x, 0, 33}], x] (* Vincenzo Librandi, Mar 26 2015 *)
  • Maxima
    makelist(sum(fib(k)*binomial(n+1,k+2),k,0,n),n,0,20); /* Vladimir Kruchinin, Oct 21 2016 */
    
  • PARI
    concat(vector(2), Vec(x^2/((1-x)^2*(1-3*x+x^2)) + O(x^40))) \\ Colin Barker, Jan 28 2017
  • Sage
    [(lucas_number1(n, 3, 1)-lucas_number1(n, 2, 1)) for n in range(1, 28)]# Zerinvary Lajos, Mar 13 2009
    

Formula

a(n) = +5*a(n-1) -8*a(n-2) +5*a(n-3) -1*a(n-4).
G.f.: x^2/((1-x)^2*(1-3*x+x^2)).
a(n) = Sum_{k=0..n} A027941(k-1) = F(2*n)-n = A054450(2*n-1, 2) = A054451(2*n-3).
G.f.: x^2*Fibe(x)/(1-x)^2, with Fibe(x) := 1/(1-3*x+x^2) = g.f. A001906(n+1) (Fibonacci numbers F(2(n+1))).
Fourth diagonal of array defined by T(i, 1) = T(1, j) = 1, T(i, j) = Max(T(i-1, j) + T(i-1, j-1); T(i-1, j-1) + T(i, j-1)). - Benoit Cloitre, Aug 05 2003
a(n) = Sum_{k=0..n-2} binomial(2*n-k-1, k). - Johannes W. Meijer, Aug 12 2013
a(n) = Sum_{i=1..n-1} Sum_{j=1..n-1} binomial(i+j, i-j). - Wesley Ivan Hurt, Mar 25 2015
a(n) = Sum_{k=0..n} (binomial(n+1,k+2)*Fibonacci(k)). - Vladimir Kruchinin, Oct 21 2016
a(n) = (-((3-sqrt(5))/2)^n + ((3+sqrt(5))/2)^n)/sqrt(5) - n. - Colin Barker, Jan 28 2017

Extensions

More terms from James Sellers, Apr 28 2000
a(0) added by Arkadiusz Wesolowski, Jun 07 2011

A112552 A modified Chebyshev transform of the second kind.

Original entry on oeis.org

1, 0, 1, -2, 0, 1, 0, -3, 0, 1, 3, 0, -4, 0, 1, 0, 6, 0, -5, 0, 1, -4, 0, 10, 0, -6, 0, 1, 0, -10, 0, 15, 0, -7, 0, 1, 5, 0, -20, 0, 21, 0, -8, 0, 1, 0, 15, 0, -35, 0, 28, 0, -9, 0, 1, -6, 0, 35, 0, -56, 0, 36, 0, -10, 0, 1, 0, -21, 0, 70, 0, -84, 0, 45, 0, -11, 0, 1, 7, 0, -56, 0, 126, 0, -120, 0, 55, 0, -12, 0, 1
Offset: 0

Author

Paul Barry, Sep 13 2005

Keywords

Comments

Row sums are A112553.
Inverse is A112554.
Riordan array product (1/(1+x^2), x)*(1/(1+x^2), x/(1+x^2)).

Examples

			Triangle begins as:
   1;
   0,   1;
  -2,   0,   1;
   0,  -3,   0,   1;
   3,   0,  -4,   0,   1;
   0,   6,   0,  -5,   0,   1;
  -4,   0,  10,   0,  -6,   0,  1;
   0, -10,   0,  15,   0,  -7,  0,  1;
   5,   0, -20,   0,  21,   0, -8,  0,   1;
   0,  15,   0, -35,   0,  28,  0, -9,   0,   1;
  -6,   0,  35,   0, -56,   0, 36,  0, -10,   0, 1;
   0, -21,   0,  70,   0, -84,  0, 45,   0, -11, 0, 1;
		

Crossrefs

Programs

  • Magma
    [(-1)^Floor((n-k)/2)*((1+(-1)^(n+k))/2)*Binomial(Floor((n+k+2)/2), k+1): k in [0..n], n in [0..15]]; // G. C. Greubel, Jan 13 2022
    
  • Mathematica
    Table[(-1)^Floor[(n-k)/2]*((1+(-1)^(n+k))/2)*Binomial[(n+k+2)/2, k+1], {n,0,15}, {k,0,n}]//Flatten (* G. C. Greubel, Jan 13 2022 *)
  • Sage
    flatten([[(-1)^floor((n-k)/2)*((1+(-1)^(n+k))/2)*binomial((n+k+2)/2, k+1) for k in (0..n)] for n in (0..15)]) # G. C. Greubel, Jan 13 2022

Formula

Riordan array (1/(1+x^2)^2, x/(1+x^2)).
T(n, k) = (-1)^floor((n-k)/2)*Sum_{j=0..n} (1+(-1)^(n-j))*(1+(-1)^(j-k))*binomial((j+k)/2, k)/4.
Unsigned triangle = A128174 * A149310, as infinite lower triangular matrices, with row sums A052952: (1, 1, 3, 4, 8, 12, 21, 33, ...). - Gary W. Adamson, Oct 28 2007
T(n, k) = (-1)^floor((n-k)/2)*((1 + (-1)^(n+k))/2)*binomial((n+k+2)/2, k+1). - G. C. Greubel, Jan 13 2022
T(n,k) = A049310(n+1,k+1) . - R. J. Mathar, Feb 07 2024

A303682 T(n,k) = Number of n X k 0..1 arrays with every element unequal to 0, 1 or 3 king-move adjacent elements, with upper left element zero.

Original entry on oeis.org

1, 2, 2, 3, 5, 3, 5, 7, 7, 5, 8, 17, 9, 17, 8, 13, 31, 15, 15, 31, 13, 21, 49, 25, 28, 25, 49, 21, 34, 103, 39, 44, 44, 39, 103, 34, 55, 193, 57, 64, 76, 64, 57, 193, 55, 89, 327, 87, 90, 110, 110, 90, 87, 327, 89, 144, 641, 137, 132, 150, 177, 150, 132, 137, 641, 144, 233, 1207
Offset: 1

Author

R. H. Hardin, Apr 28 2018

Keywords

Comments

Table starts
..1...2...3...5...8..13..21...34...55...89..144..233..377..610...987..1597
..2...5...7..17..31..49.103..193..327..641.1207.2129.4039.7585.13687.25585
..3...7...9..15..25..39..57...87..137..215..329..503..777.1207..1865..2871
..5..17..15..28..44..64..90..132..204..312..466..688.1024.1540..2318..3472
..8..31..25..44..76.110.150..212..306..458..684.1006.1462.2132..3122..4586
.13..49..39..64.110.177.245..335..467..657..949.1391.2035.2937..4221..6079
.21.103..57..90.150.245.367..509..697..957.1311.1851.2671.3869..5547..7907
.34.193..87.132.212.335.509..774.1086.1478.1984.2674.3730.5314..7588.10760
.55.327.137.204.306.467.697.1086.1684.2354.3144.4174.5578.7696.10808.15232

Examples

			Some solutions for n=5, k=4
..0..0..0..0. .0..0..0..0. .0..1..1..0. .0..1..1..1. .0..0..1..1
..0..0..0..0. .0..0..0..0. .1..1..1..1. .1..1..1..1. .0..1..1..1
..0..0..0..0. .0..0..0..0. .1..1..1..1. .1..1..1..1. .1..1..1..1
..1..0..0..0. .0..0..0..0. .1..1..1..1. .1..1..1..1. .1..1..1..1
..1..1..0..0. .0..0..0..0. .1..1..1..1. .0..1..1..0. .0..1..1..0
		

Crossrefs

Column 1 is A000045(n+1).
Column 3 is A052952(n+4) for n>1.

Formula

Empirical for column k:
k=1: a(n) = a(n-1) +a(n-2)
k=2: a(n) = a(n-1) +4*a(n-3) -2*a(n-4) for n>5
k=3: a(n) = a(n-1) +2*a(n-4) for n>5
k=4: a(n) = a(n-1) +a(n-4) +a(n-5) for n>8
k=5: a(n) = a(n-1) +a(n-4) +a(n-6) for n>10
k=6: a(n) = a(n-1) +a(n-4) +a(n-7) for n>12
k=7: a(n) = a(n-1) +a(n-4) +a(n-8) for n>14

A099572 a(n) = Sum_{k=0..floor(n/2)} binomial(n-k+4, k).

Original entry on oeis.org

1, 1, 6, 7, 23, 30, 73, 103, 211, 314, 581, 895, 1560, 2455, 4135, 6590, 10890, 17480, 28590, 46070, 74946, 121016, 196326, 317342, 514123, 831465, 1346148, 2177613, 3524441, 5702054, 9227311, 14929365, 24157645, 39087010, 63245795, 102332805
Offset: 0

Author

Paul Barry, Oct 23 2004

Keywords

Comments

Fifth column of triangle A054450. In general Sum_{k=0..floor(n/2)} binomial(n-k+r, k), r>=0, will have g.f. 1/((1-x^2)^r*(1-x-x^2)) and for r>0, a(n) = Sum_{k=0..n} Fibonacci(n-k+1)*binomial(k/2+r-1, r-1)*(1+(-1)^k)/2.

Crossrefs

Programs

  • Magma
    R:=PowerSeriesRing(Integers(), 40); Coefficients(R!( 1/((1-x^2)^4*(1-x-x^2)) )); // G. C. Greubel, Jul 25 2022
    
  • Mathematica
    Table[Fibonacci(n+5) +(-1)^n*(n^3+9*n^2+35*n+33)/96 -(n^3+21*n^2+155*n+417)/96, {n,0,40}] (* G. C. Greubel, Jul 25 2022 *)
  • SageMath
    [fibonacci(n+5) + (-1)^n*(n^3+9*n^2+35*n+33)/96 - (n^3+21*n^2+155*n + 417)/96 for n in (0..40)] # G. C. Greubel, Jul 25 2022

Formula

G.f.: 1/((1-x^2)^4*(1-x-x^2)). - corrected by R. J. Mathar, Feb 20 2011
a(n) = Sum_{k=0..n} Fibonacci(n-k+1)*binomial(k/2+3, 3)*((1+(-1)^k)/2).
a(n) = Fibonacci(n+5) + (-1)^n*(n^3 + 9*n^2 + 35*n + 33)/96 - (n^3 + 21*n^2 + 155*n + 417)/96. - G. C. Greubel, Jul 25 2022

A131326 Row sums of A131325.

Original entry on oeis.org

1, 3, 4, 9, 13, 24, 37, 63, 100, 165, 265, 432, 697, 1131, 1828, 2961, 4789, 7752, 12541, 20295, 32836, 53133, 85969, 139104, 225073, 364179, 589252, 953433, 1542685, 2496120, 4038805, 6534927, 10573732, 17108661, 27682393, 44791056, 72473449, 117264507
Offset: 0

Author

Gary W. Adamson, Jun 28 2007

Keywords

Crossrefs

Programs

  • PARI
    Vec((1+2*x-x^2) / ((x-1)*(1+x)*(x^2+x-1)) + O(x^50)) \\ Colin Barker, Jul 12 2017

Formula

a(n) = A062114(n+1)+A052952(n-1).
G.f. ( 1+2*x-x^2 ) / ( (x-1)*(1+x)*(x^2+x-1) ). - R. J. Mathar, Aug 12 2012
a(n) = 3*Fibonacci(n+1)-2 if n even, a(n) = 3*Fibonacci(n+1) if n odd. - R. J. Mathar, Aug 12 2012
From Colin Barker, Jul 12 2017: (Start)
a(n) = (3*2^(-n-1)*((1 + sqrt(5))^(n+1) - (1 - sqrt(5))^(n+1))) / sqrt(5) - 2 for n even.
a(n) = (3*2^(-n-1)*((1 + sqrt(5))^(n+1) - (1 - sqrt(5))^(n+1))) / sqrt(5) for n odd.
a(n) = a(n-1) + 2*a(n-2) - a(n-3) - a(n-4) for n>3.
(End)

A173284 Triangle by columns, Fibonacci numbers in every column shifted down twice, for k > 0.

Original entry on oeis.org

1, 1, 2, 1, 3, 1, 5, 2, 1, 8, 3, 1, 13, 5, 2, 21, 8, 3, 1, 34, 13, 5, 2, 1, 55, 21, 8, 3, 1, 89, 34, 13, 5, 2, 1, 144, 55, 21, 8, 3, 1, 233, 89, 34, 13, 5, 2, 1, 377, 144, 55, 21, 8, 3, 1, 610, 233, 89, 34, 13, 5, 2, 1
Offset: 0

Author

Gary W. Adamson, Feb 14 2010

Keywords

Comments

The row sums equal A052952.
Let the triangle = M. Then lim_{n->infinity} M^n = A173285 as a left-shifted vector.
A173284 * [1, 2, 3, ...] = A054451: (1, 1, 4, 5, 12, 17, 33, ...). - Gary W. Adamson, Mar 03 2010
From Johannes W. Meijer, Sep 05 2013: (Start)
Triangle read by rows formed from antidiagonals of triangle A104762.
The diagonal sums lead to A004695. (End)

Examples

			First few rows of the triangle:
    1;
    1;
    2,   1;
    3,   1;
    5,   2,  1;
    8,   3,  1;
   13,   5,  2,  1;
   21,   8,  3,  1;
   34,  13,  5,  2,  1;
   55,  21,  8,  3,  1;
   89,  34, 13,  5,  2, 1;
  144,  55, 21,  8,  3, 1;
  233,  89, 34, 13,  5, 2, 1;
  377, 144, 55, 21,  8, 3, 1;
  610, 233, 89, 34, 13, 5, 2, 1;
  ...
		

Crossrefs

Cf. (Similar triangles) A008315 (Catalan), A011973 (Pascal), A102541 (Losanitsch), A122196 (Fractal), A122197 (Fractal), A128099 (Pell-Jacobsthal), A152198, A152204, A207538, A209634.

Programs

  • Maple
    T := proc(n, k): if n<0 then return(0) elif k < 0 or k > floor(n/2) then return(0) else combinat[fibonacci](n-2*k+1) fi: end: seq(seq(T(n, k), k=0..floor(n/2)), n=0..14); # Johannes W. Meijer, Sep 05 2013

Formula

Triangle by columns, Fibonacci numbers in every column shifted down twice, for k > 0.
From Johannes W. Meijer, Sep 05 2013: (Start)
T(n,k) = A000045(n-2*k+1), n >= 0 and 0 <= k <= floor(n/2).
T(n,k) = A104762(n-k, k). (End)

Extensions

Term a(15) corrected by Johannes W. Meijer, Sep 05 2013
Previous Showing 11-20 of 35 results. Next