The OEIS is supported by the many generous donors to the OEIS Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A247487 Expansion of (2 + x + x^2 + x^3 - x^4 - 2*x^5 - 4*x^6 - 8*x^7) / (1 - x^4 + 16*x^8) in powers of x. 4
 2, 1, 1, 1, 1, -1, -3, -7, -31, -17, -19, -23, -47, -1, 29, 89, 449, 271, 333, 457, 1201, 287, -131, -967, -5983, -4049, -5459, -8279, -25199, -8641, -3363, 7193, 70529, 56143, 83981, 139657, 473713, 194399, 137789, 24569, -654751, -703889, -1205907, -2209943 (list; graph; refs; listen; history; text; internal format)
 OFFSET 0,1 LINKS G. C. Greubel, Table of n, a(n) for n = 0..2500 Index entries for linear recurrences with constant coefficients, signature (0,0,0,1,0,0,0,-16). FORMULA a(n) = a(-n) * 2^n = a(n-4) - 16*a(n-8) for all n in Z. a(2*n + 1) = (-1)^n * A087168(n). A247518(n) = a(n+1) * a(n) * a(n-1) * a(n-2) for all n in Z. EXAMPLE G.f. = 2 + x + x^2 + x^3 + x^4 - x^5 - 3*x^6 - 7*x^7 - 31*x^8 - 17*x^9 + ... MAPLE seq(coeff(series((2+x+x^2+x^3-x^4-2*x^5-4*x^6-8*x^7)/(1-x^4+16*x^8), x, n+1), x, n), n=0..50); # Muniru A Asiru, Aug 05 2018 MATHEMATICA CoefficientList[Series[(2+x+x^2+x^3-x^4-2*x^5-4*x^6-8*x^7)/(1 -x^4 + 16*x^8), {x, 0, 60}], x]] (* G. C. Greubel, Aug 05 2018 *) PROG (PARI) {a(n) = if( n<0, n=-n; 2^-n, 1) * polcoeff( (2 + x + x^2 + x^3 - x^4 - 2*x^5 - 4*x^6 - 8*x^7) / (1 - x^4 + 16*x^8) + x * O(x^n), n)}; (Magma) m:=60; R:=PowerSeriesRing(Integers(), m); Coefficients(R!((2+x+x^2+x^3-x^4-2*x^5-4*x^6-8*x^7)/(1-x^4+16*x^8))); // G. C. Greubel, Aug 05 2018 (GAP) a:=[2, 1, 1, 1, 1, -1, -3, -7];; for n in [9..50] do a[n]:=a[n-4]-16*a[n-8]; od; a; # Muniru A Asiru, Aug 05 2018 CROSSREFS CF. A087168, A247518. Sequence in context: A060176 A305297 A218220 * A010248 A325403 A132068 Adjacent sequences: A247484 A247485 A247486 * A247488 A247489 A247490 KEYWORD sign,easy AUTHOR Michael Somos, Sep 18 2014 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.

Last modified March 2 01:19 EST 2024. Contains 370447 sequences. (Running on oeis4.)