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!)
A015580 Expansion of x/(1 - 9*x - 4*x^2). 3
0, 1, 9, 85, 801, 7549, 71145, 670501, 6319089, 59553805, 561260601, 5289560629, 49851088065, 469818035101, 4427766668169, 41729172153925, 393273616058001, 3706379233137709, 34930507562471385, 329200084994793301, 3102522795203025249, 29239505496806400445 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,3
COMMENTS
Pisano period lengths: 1, 1, 2, 1, 3, 2, 48, 2, 6, 3, 10, 2, 42, 48, 6, 4, 24, 6,360, 3, ... - R. J. Mathar, Aug 10 2012
LINKS
FORMULA
a(n) = 9*a(n-1) + 4*a(n-2).
MATHEMATICA
LinearRecurrence[{9, 4}, {0, 1}, 30] (* Vincenzo Librandi, Nov 14 2012 *)
PROG
(Sage) [lucas_number1(n, 9, -4) for n in range(0, 19)] # Zerinvary Lajos, Apr 26 2009
(Magma) [n le 2 select n-1 else 9*Self(n-1) + 4*Self(n-2): n in [1..30]]; // Vincenzo Librandi, Nov 14 2012
(PARI) x='x+O('x^30); concat([0], Vec(x/(1-9*x-4*x^2))) \\ G. C. Greubel, Jan 06 2018
CROSSREFS
Sequence in context: A295118 A339550 A228417 * A163308 A160112 A108427
KEYWORD
nonn,easy
AUTHOR
EXTENSIONS
Extended by T. D. Noe, May 23 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 March 29 08:13 EDT 2024. Contains 371265 sequences. (Running on oeis4.)