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.

A165511 a(0)=1, a(1)=10, a(n) = 90*a(n-2) - a(n-1).

Original entry on oeis.org

1, 10, 80, 820, 6380, 67420, 506780, 5561020, 40049180, 460442620, 3143983580, 38295852220, 244662669980, 3201964029820, 18817676268380, 269359086415420, 1424231777738780, 22818085999649020, 105362773996841180
Offset: 0

Views

Author

Philippe Deléham, Sep 21 2009

Keywords

Comments

a(n)/a(n-1) tends to -10.
First entry < 0: a(30) = -8009307078719785774426912420.

Programs

  • Magma
    [(20*9^n-(-10)^n)/19: n in [0..50]]; // G. C. Greubel, Oct 21 2018
  • Mathematica
    LinearRecurrence[{-1,90},{1,10},20] (* or *) CoefficientList[Series[ (1+11x)/(1+x-90x^2),{x,0,20}],x]  (* Harvey P. Dale, Apr 30 2011 *)
  • PARI
    vector(50, n, n--; (20*9^n-(-10)^n)/19) \\ G. C. Greubel, Oct 21 2018
    

Formula

G.f.: (1+11*x)/(1+x-90*x^2).
a(n) = Sum_{k=0..n} A112555(n,k)*9^k.
a(n) = (20*9^n-(-10)^n)/19. - Klaus Brockhaus, Sep 26 2009
E.g.f.: (20*exp(9*x) - exp(-10*x))/19. - G. C. Greubel, Oct 21 2018