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.

Showing 1-2 of 2 results.

A139741 a(n) = 11^n - 3^n.

Original entry on oeis.org

0, 8, 112, 1304, 14560, 160808, 1770832, 19484984, 214352320, 2357928008, 25937365552, 285311493464, 3138427845280, 34522710549608, 379749828800272, 4177248155066744, 45949729820525440, 505447028370153608, 5559917313104810992, 61159090447252284824, 672749994929073224800
Offset: 0

Views

Author

N. J. A. Sloane, May 20 2008

Keywords

Crossrefs

Cf. A016146, and similar sequences listed in A248225.

Programs

Formula

a(n) = 14*a(n-1) - 33*a(n-2). - Vincenzo Librandi, Jun 02 2011
From Bruno Berselli, Oct 05 2014: (Start)
G.f.: 8*x/((1 - 3*x)*(1 - 11*x)).
a(n+1) = 8*A016146(n). (End)
E.g.f.: 2*exp(7*x)*sinh(4*x). - Elmo R. Oliveira, Mar 31 2025

A248226 a(n) = 10^n - 3^n.

Original entry on oeis.org

0, 7, 91, 973, 9919, 99757, 999271, 9997813, 99993439, 999980317, 9999940951, 99999822853, 999999468559, 9999998405677, 99999995217031, 999999985651093, 9999999956953279, 99999999870859837, 999999999612579511, 9999999998837738533, 99999999996513215599
Offset: 0

Views

Author

Vincenzo Librandi, Oct 05 2014

Keywords

Crossrefs

Cf. similar sequences listed in A248225.

Programs

  • Magma
    [10^n-3^n: n in [0..30]];
    
  • Mathematica
    Table[10^n - 3^n, {n, 0, 25}] (* or *) CoefficientList[Series[(7 x)/((1 - 3 x) (1 - 10 x)), {x, 0, 30}], x]
    LinearRecurrence[{13,-30},{0,7},30] (* Harvey P. Dale, Jul 10 2021 *)
  • PARI
    a(n) = 10^n - 3^n \\ Michel Marcus, Oct 05 2014

Formula

G.f.: 7*x/((1 - 3*x)*(1 - 10*x)).
a(n) = 13*a(n-1) - 30*a(n-2).
a(n) = A011557(n) - A000244(n).
a(2*n) mod 10^n = A016189(n). - Michel Marcus, Oct 05 2014
a(n+1) = 7*A016145(n). - Bruno Berselli, Oct 05 2014
E.g.f.: exp(3*x)*(exp(7*x) - 1). - Stefano Spezia, Mar 09 2025
Showing 1-2 of 2 results.