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.

Showing 1-2 of 2 results.

A226205 a(n) = F(n)^2 - F(n-1)^2 or F(n+1) * F(n-2) where F(n) = A000045(n), the Fibonacci numbers.

Original entry on oeis.org

1, 0, 3, 5, 16, 39, 105, 272, 715, 1869, 4896, 12815, 33553, 87840, 229971, 602069, 1576240, 4126647, 10803705, 28284464, 74049691, 193864605, 507544128, 1328767775, 3478759201, 9107509824, 23843770275, 62423800997, 163427632720, 427859097159, 1120149658761
Offset: 1

Views

Author

Michael Somos, Jun 06 2013

Keywords

Comments

A001519(n)^2 = A079472(n)^2 + a(n)^2 and (A001519(n), A079472(n), a(n)) is a Pythagorean triple.
INVERT transform is A052156. PSUM transform is A007598. SUMADJ transform is A088305. BINOMIAL transform is A039717. BINOMIAL transform with 0 prepended is A112091 with 0 prepended. BINOMIAL transform inverse is A084179(n+1).
In general, the difference between squares of two consecutive terms of a second order linear recurrence having a signature of (c,d) will be a third order recurrence with signature (c^2+d,(c^2+d)*d,-d^3). - Gary Detlefs, Mar 13 2025

Examples

			G.f. = x + 3*x^3 + 5*x^4 + 16*x^5 + 39*x^6 + 105*x^7 + 272*x^8 + 715*x^9 + ...
		

Crossrefs

Cf. similar sequences of the type k*F(n)*F(n+1)+(-1)^n listed in A264080.
Cf. A260259: numbers of the form F(n)*F(n+1)-(-1)^n. - Bruno Berselli, Nov 02 2015

Programs

  • Magma
    [Fibonacci(n)^2-Fibonacci(n-1)^2: n in [1..40]]; // Vincenzo Librandi, Jun 18 2014
    
  • Maple
    a:= n-> (<<0|1|0>, <0|0|1>, <-1|2|2>>^n. <<1,0,3>>)[1, 1]:
    seq(a(n), n=0..30);  # Alois P. Heinz, Sep 28 2016
  • Mathematica
    a[ n_] := Fibonacci[n + 1] Fibonacci[n - 2]; (* Michael Somos, Jun 17 2014 *)
    CoefficientList[Series[(1 - x)^2/((1 + x) (1 - 3 x + x^2)), {x, 0, 30}], x] (* Vincenzo Librandi, Jun 17 2014 *)
  • PARI
    {a(n) = fibonacci( n + 1) * fibonacci( n - 2)};
    
  • PARI
    a(n) = round(2^(-1-n)*(-(-1)^n*2^(3+n)-(3-sqrt(5))^n*(1+sqrt(5))+(-1+sqrt(5))*(3+sqrt(5))^n)/5) \\ Colin Barker, Sep 28 2016
    
  • PARI
    lista(nn) = {my(p = (3*x-1)/(x^3-2*x^2-2*x+1)); for (n=1, nn, p = deriv(p, x); print1(subst(p, x, 0)/n!, ", "); ); } \\ Michel Marcus, May 22 2018

Formula

G.f.: x * (1 - x)^2 / ((1 + x) * (1 -3*x + x^2)).
a(n) = 2*a(n-1) + 2*a(n-2) - a(n-3).
a(n) = - A121646(n).
a(n) = -a(1-n) for all n in Z.
a(n) = A121801(n+1) / 2. - Michael Somos, Jun 17 2014
a(n) = a(n-1) + A000045(n-1)^2 - 2*(-1)^n, for n>1. - Alexander Samokrutov, Sep 07 2015
a(n) = F(n-1)*F(n) - (-1)^n. - Bruno Berselli, Oct 30 2015
a(n) = 2^(-1-n)*(-(-1)^n*2^(3+n)-(3-sqrt(5))^n*(1+sqrt(5))+(-1+sqrt(5))*(3+sqrt(5))^n)/5. - Colin Barker, Sep 28 2016
From Amiram Eldar, Oct 06 2020: (Start)
Sum_{n>=3} 1/a(n) = (1/2) * A290565 - 1/4.
Sum_{n>=3} (-1)^(n+1)/a(n) = (3/2) * (1/phi - 1/2), where phi is the golden ratio (A001622). (End)

A111569 a(n) = a(n-1) + a(n-3) + a(n-4) for n > 3, a(0) = -1, a(1) = 1, a(2) = 2, a(3) = 1.

Original entry on oeis.org

-1, 1, 2, 1, 1, 4, 7, 9, 14, 25, 41, 64, 103, 169, 274, 441, 713, 1156, 1871, 3025, 4894, 7921, 12817, 20736, 33551, 54289, 87842, 142129, 229969, 372100, 602071, 974169, 1576238, 2550409, 4126649, 6677056, 10803703, 17480761, 28284466, 45765225
Offset: 0

Views

Author

Creighton Dement, Aug 07 2005

Keywords

Comments

In reference to the program code given, 4*tesseq[A*H] = A001638 (a Fielder sequence) where A001638(2n) = L(n)^2. Here we have: a(2n+1) = A007598(n+1) = Fibonacci(n+1)^2.
Floretion Algebra Multiplication Program, FAMP Code: 4kbaseiseq[B+H] with B = - .25'i + .25'j - .25i' + .25j' + k' - .5'kk' - .25'ik' - .25'jk' - .25'ki' - .25'kj' - .5e and H = + .75'ii' + .75'jj' + .75'kk' + .75e
First bisection is A260259 (see previous comment for the second bisection). [Bruno Berselli, Nov 02 2015]

Crossrefs

Formula

G.f.: (1-2*x-x^2)/((x^2+x-1)*(1+x^2)).
a(n) = 2*A056594(n+3)/5 - 6*A056594(n)/5 + A000032(n+1)/5. [R. J. Mathar, Nov 12 2009]
Showing 1-2 of 2 results.