login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A017918 Expansion of 1/((1-3x)(1-5x)(1-12x)). 1
1, 20, 289, 3740, 46321, 563300, 6797569, 81762860, 982121041, 11790305780, 141507994849, 1698217742780, 20379222467761, 244553718979460, 2934659879368129, 35215994824839500, 422592319303230481 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,2

LINKS

Vincenzo Librandi, Table of n, a(n) for n = 0..200

Index entries for linear recurrences with constant coefficients, signature (20,-111,180).

FORMULA

a(0)=1, a(1)=20, a(2)=289; for n>2, a(n) = 20*a(n-1) -111*a(n-2) +180*a(n-3). - Vincenzo Librandi, Jul 02 2013

a(n) = 17*a(n-1) -60*a(n-2) +3^n. - Vincenzo Librandi, Jul 02 2013

a(n) = (2*12^(n+2) - 9*5^(n+2) + 7*3^(n+2))/126. [Yahia Kahloune, Jul 06 2013]

MAPLE

a:= n-> (Matrix(3, (i, j)-> `if`(i=j-1, 1, `if`(j=1, [20, -111, 180][i], 0)))^n)[1, 1]: seq(a(n), n=0..25);  # Alois P. Heinz, Jul 02 2013

MATHEMATICA

CoefficientList[Series[1 / ((1 - 3 x) (1 - 5 x) (1 - 12 x)), {x, 0, 30}], x] (* Vincenzo Librandi, Jul 02 2013 *)

LinearRecurrence[{20, -111, 180}, {1, 20, 289}, 20] (* Harvey P. Dale, Aug 22 2019 *)

PROG

(MAGMA) m:=20; R<x>:=PowerSeriesRing(Integers(), m); Coefficients(R!(1/((1-3*x)*(1-5*x)*(1-12*x)))); /* or */ I:=[1, 20, 289]; [n le 3 select I[n] else 20*Self(n-1)-111*Self(n-2)+180*Self(n-3): n in [1..20]]; // Vincenzo Librandi, Jul 02 2013

CROSSREFS

Sequence in context: A016314 A021164 A225829 * A329710 A125477 A016261

Adjacent sequences:  A017915 A017916 A017917 * A017919 A017920 A017921

KEYWORD

nonn,easy

AUTHOR

N. J. A. Sloane.

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified June 6 18:59 EDT 2020. Contains 334832 sequences. (Running on oeis4.)