%I #9 Dec 12 2023 08:55:14
%S 0,0,1,1,2,-1,-1,-2,0,0,1,1,2,-1,-1,-2,0,0,1,1,2,-1,-1,-2,0,0,1,1,2,
%T -1,-1,-2,0,0,1,1,2,-1,-1,-2,0,0,1,1,2,-1,-1,-2,0,0,1,1,2,-1,-1,-2,0,
%U 0,1,1,2,-1,-1,-2,0,0,1,1,2,-1,-1,-2,0,0,1,1,2,-1,-1,-2,0,0,1,1,2,-1,-1,-2,0,0,1,1,2,-1,-1,-2,0,0,1,1,2,-1,-1,-2,0,0,1,1,2
%N Period 8: repeat 0, 0, 1, 1, 2, -1, -1, -2.
%H <a href="/index/Rec#order_07">Index entries for linear recurrences with constant coefficients</a>, signature (-1,-1,-1,-1,-1,-1,-1).
%o (PARI) a(n)=[0, 0, 1, 1, 2, -1, -1, -2][n%8+1] \\ _Charles R Greathouse IV_, Jul 13 2016
%Y Cf. A132367.
%K sign,easy
%O 0,5
%A _Paul Curtz_, Nov 12 2007