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!)
A171226 9+10^n+9*100^n. 1
19, 919, 90109, 9001009, 900010009, 90000100009, 9000001000009, 900000010000009, 90000000100000009, 9000000001000000009, 900000000010000000009, 90000000000100000000009, 9000000000001000000000009, 900000000000010000000000009, 90000000000000100000000000009 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,1
LINKS
FORMULA
a(n) = 111*a(n-1) -1110*a(n-2) +1000*a(n-3).
G.f.: -(19-1190*x+9190*x^2)/((x-1) * (100*x-1) * (10*x-1)). - R. J. Mathar, Feb 14 2010
MAPLE
A171226:=n->9+10^n+9*100^n; seq(A171226(n), n=0..20); # Wesley Ivan Hurt, Mar 07 2014
MATHEMATICA
LinearRecurrence[{111, -1110, 1000}, {19, 919, 90109}, 20] (* Harvey P. Dale, Oct 24 2011 *)
PROG
(PARI) a(n) = 9+10^n+9*100^n; \\ Michel Marcus, Mar 08 2014
CROSSREFS
Cf. A083816.
Sequence in context: A209353 A368789 A005535 * A247279 A192569 A238740
KEYWORD
easy,nonn
AUTHOR
Jason Earls, Dec 05 2009
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 April 20 00:03 EDT 2024. Contains 371798 sequences. (Running on oeis4.)