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.

A133473 2 followed by numbers with n-1 3's before 5.

Original entry on oeis.org

2, 5, 35, 335, 3335, 33335, 333335, 3333335, 33333335, 333333335, 3333333335, 33333333335, 333333333335, 3333333333335, 33333333333335, 333333333333335, 3333333333333335, 33333333333333335, 333333333333333335, 3333333333333333335, 33333333333333333335, 333333333333333333335
Offset: 0

Views

Author

Paul Curtz, Nov 29 2007

Keywords

Comments

Sum of digits: A016789; sum of digits mod 9: A131598.

Crossrefs

Programs

  • Magma
    [(1/3)*(5+10^n): n in [0..20]]; // Vincenzo Librandi, Aug 10 2011
  • Mathematica
    NestList[10#-15&,2,20] (* or *) LinearRecurrence[{11,-10},{2,5},20] (* Harvey P. Dale, Mar 09 2022 *)

Formula

From R. J. Mathar, Nov 30 2007: (Start)
O.g.f.: -(-2+17*x)/((-1+x)*(-1+10*x)).
a(n) = 10*a(n-1) - 15. (End)
E.g.f.: exp(x)*(5 + exp(9*x))/3. - Stefano Spezia, Sep 11 2022
From Elmo R. Oliveira, Jun 13 2025: (Start)
a(n) = 11*a(n-1) - 10*a(n-2).
a(n) = A133472(n)/3. (End)