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!)
A205086 a(n) = n 6's sandwiched between two 1's. 1
11, 161, 1661, 16661, 166661, 1666661, 16666661, 166666661, 1666666661, 16666666661, 166666666661, 1666666666661, 16666666666661, 166666666666661, 1666666666666661, 16666666666666661, 166666666666666661, 1666666666666666661, 16666666666666666661 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,1
LINKS
FORMULA
a(n) = 10*a(n-1) + 51; a(0) = 11.
a(n) = 11*a(n-1) - 10*a(n-2). - Vincenzo Librandi, Jan 22 2012
MATHEMATICA
a[0]=11; a[n_]:=a[n-1]*10+51; y=Table[a[n], {n, 0, 44}]
LinearRecurrence[{11, -10}, {11, 161}, 50] (* Vincenzo Librandi, Jan 22 2012 *)
Table[FromDigits[Join[PadRight[{1}, n, 6], {1}]], {n, 20}] (* Harvey P. Dale, May 22 2015 *)
PROG
(Magma) I:=[11, 161]; [n le 2 select I[n] else 11*Self(n-1)-10*Self(n-2): n in [1..25]]; // Vincenzo Librandi, Jan 22 2012
CROSSREFS
Sequence in context: A324430 A326097 A135700 * A370911 A141876 A174364
KEYWORD
nonn,easy
AUTHOR
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 23 07:42 EDT 2024. Contains 371905 sequences. (Running on oeis4.)