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.

A198972 a(n) = (7*10^n - 1)/3.

Original entry on oeis.org

2, 23, 233, 2333, 23333, 233333, 2333333, 23333333, 233333333, 2333333333, 23333333333, 233333333333, 2333333333333, 23333333333333, 233333333333333, 2333333333333333, 23333333333333333, 233333333333333333, 2333333333333333333, 23333333333333333333, 233333333333333333333
Offset: 0

Views

Author

Vincenzo Librandi, Nov 02 2011

Keywords

Comments

2 followed by n 3's. - Wesley Ivan Hurt, Nov 14 2013

Crossrefs

Programs

  • Magma
    [(7*10^n-1)/3 : n in [0..20]];
  • Maple
    A198972:=n->(7*10^n-1)/3; seq(A198972(n), n=0..50); # Wesley Ivan Hurt, Nov 14 2013
  • Mathematica
    CoefficientList[Series[(2 + x)/(1 - 11 * x + 10 * x^2), {x, 0, 30}], x] (* Vincenzo Librandi, Jan 04 2013 *)
    (7 * 10^Range[0, 19] - 1)/3 (* Alonso del Arte, Aug 07 2014 *)

Formula

a(n) = 10*a(n-1) + 3.
a(n) = 11*a(n-1) - 10*a(n-2), n > 1.
G.f.: (2 + x)/(1 - 11*x + 10*x^2). - Vincenzo Librandi, Jan 04 2013
From Elmo R. Oliveira, Jun 14 2025: (Start)
E.g.f.: exp(x)*(7*exp(9*x) - 1)/3.
a(n) = A198699(n)/3. (End)