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.

A137480 a(n)=4a(n-2).

Original entry on oeis.org

12, 21, 48, 84, 192, 336, 768, 1344, 3072, 5376, 12288, 21504, 49152, 86016, 196608, 344064, 786432, 1376256, 3145728, 5505024, 12582912, 22020096, 50331648, 88080384, 201326592, 352321536, 805306368, 1409286144, 3221225472, 5637144576, 12884901888
Offset: 0

Views

Author

Paul Curtz, Apr 22 2008

Keywords

Programs

  • Mathematica
    LinearRecurrence[{0, 4}, {12, 21}, 50] (* G. C. Greubel, Feb 23 2017 *)
  • PARI
    x='x + O('x^50); Vec((21*x + 12)/(-4*x^2 + 1)) \\ G. C. Greubel, Feb 23 2017

Formula

G.f.: (21*x + 12)/(-4*x^2 + 1).
a(n) = -(9/4)*sqrt(2)*(1/2)^(-1/2*(-1)^n)*(-2)^n + (33/4)*2^n*sqrt(2)*(1/2)^(-(1/2)*(-1)^n) - Alexander R. Povolotsky, Apr 25 2008
a(n) = 3*A133600(n+2) - R. J. Mathar, Jun 08 2016