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!)
A037486 Base 9 digits are, in order, the first n terms of the periodic sequence with initial period 1,2. 0
1, 11, 100, 902, 8119, 73073, 657658, 5918924, 53270317, 479432855, 4314895696, 38834061266, 349506551395, 3145558962557, 28310030663014, 254790275967128, 2293112483704153 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
FORMULA
a(n) = 9*a(n-1) + a(n-2) - 9*a(n-3).
G.f.: x*(1+2*x)/((1-9*x)*(1-x^2)). a(n) = (11*9^n+4*(-1)^n-15)/80. - Bruno Berselli, Jan 20 2011
MATHEMATICA
Table[FromDigits[PadRight[{}, n, {1, 2}], 9], {n, 20}] (* or *) LinearRecurrence[ {9, 1, -9}, {1, 11, 100}, 20] (* Harvey P. Dale, Feb 15 2020 *)
CROSSREFS
Sequence in context: A081906 A098296 A037542 * A103720 A322719 A127806
KEYWORD
nonn,base,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 25 01:35 EDT 2024. Contains 371964 sequences. (Running on oeis4.)