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!)
A179557 a(1)=10; a(n)=a(n-1)*10 -/+ 1 (alternating) 1
10, 99, 991, 9909, 99091, 990909, 9909091, 99090909, 990909091, 9909090909, 99090909091, 990909090909, 9909090909091, 99090909090909, 990909090909091, 9909090909090909, 99090909090909091, 990909090909090909, 9909090909090909091, 99090909090909090909 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
109/110 = 0,9909090909....
LINKS
FORMULA
a(1)=10, a(2)=99, a(n)=9*a(n-1)+10*a(n-2). - Harvey P. Dale, Jul 21 2014
MATHEMATICA
nxt[{a_, i_}]:={10a+i, -i}; Transpose[NestList[nxt, {10, -1}, 30]][[1]] (* or *) LinearRecurrence[{9, 10}, {10, 99}, 30] (* Harvey P. Dale, Jul 21 2014 *)
PROG
(Magma) [(1/11)*((-1)^(n-1)+109*10^(n-1)): n in [1..20]]; // Vincenzo Librandi, Jul 21 2014
CROSSREFS
Sequence in context: A179477 A179555 A105694 * A300000 A213454 A000456
KEYWORD
nonn,easy
AUTHOR
Mark Dols, Jul 19 2010
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 27 21:44 EDT 2024. Contains 372020 sequences. (Running on oeis4.)