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.

A179477 Antonym of A014824: each term is 10 times the previous term minus n.

Original entry on oeis.org

10, 99, 988, 9877, 98766, 987655, 9876544, 98765433, 987654322, 9876543211, 98765432100, 987654320989, 9876543209878, 98765432098767, 987654320987656, 9876543209876545, 98765432098765434, 987654320987654323, 9876543209876543212, 98765432098765432101
Offset: 0

Views

Author

Mark Dols, Jul 16 2010

Keywords

Crossrefs

Cf. A014824.

Programs

  • Mathematica
    Join[{a=10,b=99},Table[c=11*b-10*a-1;a=b;b=c,{n,60}]] (* Vladimir Joseph Stephan Orlovsky, Jan 20 2011*)
    Join[{a=10}, Table[a=10a-n, {n,60}]] (* T. D. Noe, Jan 20 2011 *)
  • PARI
    Vec(-(10*x^2-21*x+10)/((x-1)^2*(10*x-1)) + O(x^30)) \\ Colin Barker, Oct 03 2015

Formula

a(n) + A014824(n) = 10^(n+1).
From Colin Barker, Oct 03 2015: (Start)
a(n) = 12*a(n-1) - 21*a(n-2) + 10*a(n-3) for n>2.
G.f.: -(10*x^2-21*x+10) / ((x-1)^2*(10*x-1)). (End)
a(n) = (10 + 2^(5+n)*5^(2+n) + 9*n)/81. - Colin Barker, Mar 25 2017