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.

A226511 a(n) = 3*(5^n-3^n)/2.

Original entry on oeis.org

0, 3, 24, 147, 816, 4323, 22344, 113907, 576096, 2900163, 14559864, 72976467, 365413776, 1828663203, 9148098984, 45754843827, 228817265856, 1144215469443, 5721464767704, 28608486099987, 143045917284336, 715240046774883, 3576231614934024, 17881252217848947, 89406543518781216
Offset: 0

Views

Author

N. J. A. Sloane, Jun 12 2013

Keywords

Crossrefs

Cf. A005058.

Programs

  • Magma
    [(3/2)*(5^n-3^n): n in [0..30]]; // Vincenzo Librandi, Jun 12 2013
  • Mathematica
    CoefficientList[Series[3 x / ((1 - 5 x) (1 - 3 x)), {x, 0, 30}], x] (* Vincenzo Librandi, Jun 12 2013 *)
    Table[3 (5^n - 3^n)/2, {n, 0, 25}] (* Bruno Berselli, Jun 12 2013 *)

Formula

G.f.: 3*x/((1-5*x)*(1-3*x)). - Vincenzo Librandi, Jun 12 2013
a(n) = 8*a(n-1) -15*a(n-2) for n>1, a(0)=0, a(1)=3. - Vincenzo Librandi, Jun 12 2013
a(n) = A005059(n)*3 = A005058(n)*3/2.