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!)
A021079 Expansion of 1/((1-x)(1-2x)(1-4x)(1-7x)). 1
1, 14, 133, 1086, 8253, 60438, 433861, 3080462, 21737485, 152860422, 1072817109, 7520900478, 52691034397, 369016181366, 2583829064677, 18089666698734, 126639120006189, 886519652765670, 6205820820773365 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
LINKS
FORMULA
a(n) = -(1/18)+(4/5)*2^n-(32/9)*4^n+(343/90)*7^n. [Antonio Alberto Olivares, May 22 2012]
a(0)=1, a(1)=14; for n>1, a(n) = 11*a(n-1) -28*a(n-2) +2^n - 1. - Vincenzo Librandi, Jul 06 2013
a(0)=1, a(1)=14, a(2)=133, a(3)=1086; for n>3, a(n) = 14*a(n-1) -63*a(n-2) +106*a(n-3) -56*a(n-4). - Vincenzo Librandi, Jul 06 2013
MATHEMATICA
CoefficientList[Series[1 / ((1 - x) (1 - 2 x) (1 - 4 x) (1 - 7 x)), {x, 0, 20}], x] (* Vincenzo Librandi, Jul 06 2013 *)
LinearRecurrence[{14, -63, 106, -56}, {1, 14, 133, 1086}, 20] (* Robert G. Wilson v, Jul 06 2013 *)
PROG
(Magma) m:=25; R<x>:=PowerSeriesRing(Integers(), m); Coefficients(R!(1/((1-x)*(1-2*x)*(1-4*x)*(1-7*x)))); /* or */ I:=[1, 14, 133, 1086]; [n le 4 select I[n] else 14*Self(n-1)-63*Self(n-2)+106*Self(n-3)-56*Self(n-4): n in [1..25]]; // Vincenzo Librandi, Jul 06 2013
CROSSREFS
Sequence in context: A113976 A022738 A017269 * A174563 A233467 A164598
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 April 17 23:23 EDT 2024. Contains 371767 sequences. (Running on oeis4.)