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!)
A175782 Expansion of 1/(1 - x - x^20 - x^39 + x^40). 23
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 22, 24, 27, 31, 36, 42, 49, 57, 66, 76, 87, 99, 112, 126, 141, 157, 174, 192, 211, 231, 254, 279, 307, 339, 376, 419, 469, 527, 594 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,21
COMMENTS
Limiting ratio of a(n)/a(n-1) = 1.119189829034646... .
A quasi - Salem polynomial based on the symmetrical polynomial defined by p(x,0) = 1, p(x,n) = x^(2*n) - x^(2*n - 1) - x^n - x + 1 for n>=1.
The polynomial has one real and two complex roots outside the unit circle.
LINKS
Index entries for linear recurrences with constant coefficients, signature (1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,-1).
FORMULA
a(n) = a(n-1) + a(n-20) + a(n-39) - a(n-40). - Franck Maminirina Ramaharo, Oct 31 2018
MAPLE
gf:= 1/(1-x-x^20-x^39+x^40):
a:= n-> coeff(series(gf, x, n+1), x, n):
seq(a(n), n=0..100); # Alois P. Heinz, Jul 27 2012
MATHEMATICA
CoefficientList[Series[1/(1 - x - x^20 - x^39 + x^40), {x, 0, 50}], x]
LinearRecurrence[{1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, -1}, {1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 22}, 70] (* Harvey P. Dale, Jun 30 2023 *)
PROG
(PARI) Vec(O(x^99)+1/(1 - x - x^20 - x^39 + x^40)) \\ N.B.: This yields a vector whose first component v[1] equals a(0), i.e., the offset is shifted by one. - M. F. Hasler, Dec 11 2010
(Magma) m:=50; R<x>:=PowerSeriesRing(Integers(), m); Coefficients(R!(1/(1-x-x^20-x^39+x^40))); // G. C. Greubel, Nov 03 2018
CROSSREFS
Cf. A175739.
Sequence in context: A178157 A246083 A246090 * A272325 A358140 A249817
KEYWORD
nonn,easy
AUTHOR
Roger L. Bagula, Dec 04 2010
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 6 17:57 EDT 2024. Contains 372297 sequences. (Running on oeis4.)