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.

A036544 a(n) = (2*(1 + n + (((10^n-1)/9) - n)/9)).

Original entry on oeis.org

2, 4, 8, 32, 256, 2480, 24704, 246928, 2469152, 24691376, 246913600, 2469135824, 24691358048, 246913580272, 2469135802496, 24691358024720, 246913580246944
Offset: 0

Views

Author

Antti Karttunen

Keywords

Comments

Result of applying extrapolator to terms 3-7 of A000301.

Programs

  • Magma
    [(2*(1+n+(((10^n-1)/9)-n)/9)): n in [0..30]]; // Vincenzo Librandi, Nov 11 2011
  • Mathematica
    LinearRecurrence[{12,-21,10},{2,4,8},20] (* Harvey P. Dale, Mar 11 2025 *)

Formula

a(n) = (2/81)*(72*n + 10^n + 80).
G.f.: 2*(1 - 10*x + x^2)/((1-10*x)*(1-x)^2). - Bruno Berselli, Nov 11 2011