The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A198400 10^n-10*n. 2
1, 0, 80, 970, 9960, 99950, 999940, 9999930, 99999920, 999999910, 9999999900, 99999999890, 999999999880, 9999999999870, 99999999999860, 999999999999850, 9999999999999840, 99999999999999830, 999999999999999820 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,3
LINKS
FORMULA
a(n) = 12*a(n-1)-21*a(n-2)+10*a(n-3) for n>2.
G.f.: (1-12*x+101*x^2)/((1-10*x)*(1-x)^2). - Vincenzo Librandi, Jul 06 2012
MATHEMATICA
CoefficientList[Series[(1-12*x+101*x^2)/((1-10*x)*(1-x)^2), {x, 0, 40}], x] (* Vincenzo Librandi, Jul 06 2012 *)
PROG
(Magma) [10^n-10*n: n in [0..25]];
(PARI) a(n)=10^n-10*n \\ Charles R Greathouse IV, Jul 06 2017
CROSSREFS
Sequence in context: A200550 A052519 A246545 * A182680 A203347 A201193
KEYWORD
nonn,easy
AUTHOR
Vincenzo Librandi, Oct 26 2011
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 16 17:27 EDT 2024. Contains 372554 sequences. (Running on oeis4.)