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.

A094650 An accelerator sequence for Catalan's constant.

Original entry on oeis.org

5, -1, 9, -4, 25, -16, 78, -64, 257, -256, 874, -1013, 3034, -3953, 10684, -15229, 38017, -58056, 136338, -219508, 491870, -824737, 1782735, -3083887, 6484514, -11489516, 23652443, -42688039, 86459608, -158270401, 316576903, -585868009, 1160673633
Offset: 0

Views

Author

Paul Barry, May 18 2004

Keywords

Crossrefs

Programs

  • Mathematica
    LinearRecurrence[{-1, 4, 3, -3, -1}, {5, -1, 9, -4, 25}, 33] (* Jean-François Alcover, Sep 21 2017 *)
  • PARI
    Vec((5+4*x-12*x^2-6*x^3+3*x^4)/(1+x-4*x^2-3*x^3+3*x^4+x^5) + O(x^40)) \\ Michel Marcus, Jul 25 2015

Formula

G.f.: (5+4x-12x^2-6x^3+3x^4)/(1+x-4x^2-3x^3+3x^4+x^5).
a(n) = (2*cos(2*Pi/11))^n + (-2*cos(Pi/11))^n + (-2*sin(5*Pi/22))^n +(2*sin(3*Pi/22))^n + (-2*sin(Pi/22))^n.