The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A016285 Expansion of 1/((1-2x)(1-4x)(1-7x)). 1
1, 13, 119, 953, 7167, 52185, 373423, 2646601, 18657023, 131122937, 919956687, 6448083369, 45170133919, 316325146969, 2214812883311, 15505837634057, 108549453307455, 759880532759481, 5319301168007695 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
LINKS
FORMULA
a(n) = (2/5)*2^n - (8/3)*4^n + (49/15)*7^n. - Antonio Alberto Olivares, Feb 06 2010
a(n) = 13*a(n-1) - 50*a(n-2) + 56*a(n-3). - Vincenzo Librandi, Jun 25 2013
MATHEMATICA
CoefficientList[Series[1 / ((1 - 2 x) (1 - 4 x) (1 - 7 x)), {x, 0, 20}], x] (* Vincenzo Librandi, Jun 25 2013 *)
LinearRecurrence[{13, -50, 56}, {1, 13, 119}, 20] (* Harvey P. Dale, Jul 26 2016 *)
PROG
(Magma) m:=20; R<x>:=PowerSeriesRing(Integers(), m); Coefficients(R!(1/((1-2*x)*(1-4*x)*(1-7*x)))); /* or */ I:=[1, 13, 119]; [n le 3 select I[n] else 13*Self(n-1)-50*Self(n-2)+56*Self(n-3): n in [1..20]]; // Vincenzo Librandi, Jun 25 2013
CROSSREFS
Sequence in context: A225965 A051824 A367244 * A121086 A159969 A253512
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 May 21 16:41 EDT 2024. Contains 372738 sequences. (Running on oeis4.)