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.

A121199 12n+7^n+5^n.

Original entry on oeis.org

2, 24, 98, 504, 3074, 19992, 133346, 901752, 6155522, 42306840, 292240994, 2026155000, 14085427970, 98109713688, 684326588642, 4778079088248, 33385518460418, 233393453440536, 1632228295176290, 11417968671701496
Offset: 0

Views

Author

Mohammad K. Azarian, Aug 19 2006

Keywords

Crossrefs

Cf. A074616.

Programs

  • Magma
    [12*n+7^n+5^n: n in [0..20]]; // Bruno Berselli, Feb 27 2013
  • Mathematica
    CoefficientList[Series[2 (1 - 2 x - 59 x^2 + 204 x^3)/((1-x)^2 (1-7 x) (1-5 x)), {x, 0, 20}], x] (* Vincenzo Librandi, Feb 23 2013 *)
    Table[12 n + 7^n + 5^n, {n, 0, 20}] (* Bruno Berselli, Feb 27 2013 *)
    LinearRecurrence[{14,-60,82,-35},{2,24,98,504},20] (* Harvey P. Dale, Aug 15 2013 *)
  • PARI
    for(n=0, 20, print1(12*n+7^n+5^n", ")); \\ Bruno Berselli, Feb 27 2013
    

Formula

G.f.: 2*(1-2*x-59*x^2+204*x^3)/((1-x)^2*(1-7*x)*(1-5*x)). - Vincenzo Librandi, Feb 23 2013

Extensions

Edited by Ray Chandler, Sep 06 2006