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.

A022323 a(n) = a(n-1) + a(n-2) + 1, with a(0) = 1 and a(1) = 9.

Original entry on oeis.org

1, 9, 11, 21, 33, 55, 89, 145, 235, 381, 617, 999, 1617, 2617, 4235, 6853, 11089, 17943, 29033, 46977, 76011, 122989, 199001, 321991, 520993, 842985, 1363979, 2206965, 3570945, 5777911, 9348857
Offset: 0

Views

Author

Keywords

Programs

  • Mathematica
    LinearRecurrence[{2,0,-1}, {1,9,11}, 50] (* G. C. Greubel, Aug 25 2017 *)
  • PARI
    x='x+O('x^50); Vec((1+7*x-7*x^2)/((1-x)*(1-x-x^2))) \\ G. C. Greubel, Aug 25 2017

Formula

From R. J. Mathar, Apr 07 2011: (Start)
G.f.: (1+7*x-7*x^2)/((1-x)*(1-x-x^2)).
a(n) = A022367(n) - 1. (End)
a(n) = 2*F(n+2) + 6*F(n) - 1, where F = A000045. - G. C. Greubel, Aug 25 2017