cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A111915 Expansion of -x^2*(x-1)*(x^2-x+1)*(x+x^2+1)/(1-x^4+x^8).

This page as a plain text file.
%I A111915 #13 Feb 03 2017 13:13:32
%S A111915 0,0,1,-1,1,-1,2,-2,1,-1,1,-1,0,0,-1,1,-1,1,-2,2,-1,1,-1,1,0,0,1,-1,1,
%T A111915 -1,2,-2,1,-1,1,-1,0,0,-1,1,-1,1,-2,2,-1,1,-1,1,0,0,1,-1,1,-1,2,-2,1,
%U A111915 -1,1,-1,0,0,-1,1,-1,1,-2,2,-1,1,-1,1,0,0,1,-1,1,-1,2,-2,1,-1,1,-1,0,0,-1,1,-1,1,-2,2,-1,1,-1,1,0,0,1,-1
%N A111915 Expansion of -x^2*(x-1)*(x^2-x+1)*(x+x^2+1)/(1-x^4+x^8).
%C A111915 It appears that a(n) has period 24.
%C A111915 This is true, as (1-x^4+x^8) is the cyclotomic polynomial for n=24. - _Joerg Arndt_, Feb 03 2017
%H A111915 <a href="/index/Rec#order_08">Index entries for linear recurrences with constant coefficients</a>, signature (0,0,0,1,0,0,0,-1).
%F A111915 G.f.: -x^2*(x-1)*(x^2-x+1)*(x+x^2+1)/(1-x^4+x^8).
%t A111915 CoefficientList[Series[-x^2*(x - 1)*(x^2 - x + 1)*(x + x^2 + 1)/(1 - x^4 + x^8), {x, 0, 100}], x] (* _Wesley Ivan Hurt_, Feb 03 2017 *)
%o A111915 (PARI) a(n)=[0, 0, 1, -1, 1, -1, 2, -2, 1, -1, 1, -1, 0, 0, -1, 1, -1, 1, -2, 2, -1, 1, -1, 1][n%24+1] \\ _Charles R Greathouse IV_, Feb 03 2017
%Y A111915 Cf. A085846, A111912, A111913, A111914.
%K A111915 easy,less,sign
%O A111915 0,7
%A A111915 _Creighton Dement_, Aug 20 2005