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!)
A017916 Expansion of 1/((1-3x)(1-5x)(1-10x)). 1
1, 18, 229, 2562, 27061, 278058, 2818549, 28377522, 284741941, 2852272698, 28547052469, 285592329282, 2856532847221, 28568377838538, 285699029999989, 2857066572421842, 28571047129374901, 285712378448671578 (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 (18,-95,150).

FORMULA

a(0)=1, a(2)=18, a(3)=229, a(n) = 18*a(n-1)-95*a(n-2)+150*a(n-3). - Vincenzo Librandi, Jul 01 2013

a(n) = 15*a(n-1) -50*a(n-2) -3^n. - Vincenzo Librandi, Jul 01 2013

a(n) = (2*10^(n+2) - 7*5^(n+2) + 5*3^(n+2))/70. [Yahia Kahloune, Aug 13 2013]

MAPLE

a:= n-> (Matrix(3, (i, j)-> `if`(i=j-1, 1, `if`(j=1, [18, -95, 150][i], 0)))^n)[1, 1]: seq(a(n), n=0..25);  # Alois P. Heinz, Jul 01 2013

MATHEMATICA

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

PROG

(MAGMA) I:=[1, 18, 229]; [n le 3 select I[n] else 18*Self(n-1)-95*Self(n-2)+150*Self(n-3): n in [1..20]]; /* or */ m:=20; R<x>:=PowerSeriesRing(Integers(), m); Coefficients(R!(1/((1-3*x)*(1-5*x)*(1-10*x)))); // Vincenzo Librandi, Jul 01 2013

(PARI) a(n) = (2*10^(n+2) - 7*5^(n+2) + 5*3^(n+2))/70; \\ Joerg Arndt, Aug 13 2013

CROSSREFS

Sequence in context: A296854 A296941 A016312 * A016307 A193982 A021094

Adjacent sequences:  A017913 A017914 A017915 * A017917 A017918 A017919

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 July 5 04:30 EDT 2020. Contains 335459 sequences. (Running on oeis4.)