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.

A198397 a(n) = 7^n - 7*n.

Original entry on oeis.org

1, 0, 35, 322, 2373, 16772, 117607, 823494, 5764745, 40353544, 282475179, 1977326666, 13841287117, 96889010316, 678223072751, 4747561509838, 33232930569489, 232630513987088, 1628413597910323, 11398895185373010, 79792266297611861, 558545864083283860, 3909821048582987895
Offset: 0

Views

Author

Vincenzo Librandi, Oct 26 2011

Keywords

Crossrefs

Programs

  • Magma
    [7^n-7*n: n in [0..25]];
    
  • Mathematica
    CoefficientList[Series[(1 - 9*x + 50*x^2)/((1 - 7*x)*(1 -x)^2), {x, 0, 30}], x] (* Vincenzo Librandi, Jan 04 2013 *)
  • PARI
    a(n)=7^n-7*n \\ Charles R Greathouse IV, Jul 06 2017

Formula

a(n) = 9*a(n-1) - 15*a(n-2) + 7*a(n-3) for n > 2.
G.f.: (1 - 9*x + 50*x^2)/((1 - 7*x)*(1 -x)^2). - Vincenzo Librandi, Jan 04 2013
E.g.f.: exp(x)*(exp(6*x) - 7*x). - Elmo R. Oliveira, Sep 10 2024