%I #11 Dec 12 2023 09:25:43
%S 3,3,3,-7,3,3,-7,3,3,-7,3,3,3,-7,3,3,-7,3,3,-7,3,3,3,-7,3,3,-7,3,3,-7,
%T 3,3,3,-7,3,3,-7,3,3,-7,3,3,3,-7,3,3,-7,3,3,-7,3,3,3,-7,3,3,-7,3,3,-7,
%U 3,3,3,-7,3,3,-7,3,3,-7,3,3,3,-7,3,3,-7,3,3,-7,3,3,3,-7,3,3,-7,3,3,-7,3,3,3,-7,3,3,-7,3,3,-7,3,3,3,-7,3,3,-7,3,3,-7,3
%N Period 10: repeat 3, 3, 3, -7, 3, 3, -7, 3, 3, -7.
%H <a href="/index/Rec#order_09">Index entries for linear recurrences with constant coefficients</a>, signature (-1,-1,-1,-1,-1,-1,-1,-1,-1).
%t PadRight[{},120,{3,3,3,-7,3,3,-7,3,3,-7}] (* _Harvey P. Dale_, Aug 07 2018 *)
%o (PARI) a(n)=[3, 3, 3, -7, 3, 3, -7, 3, 3, -7][n%10+1] \\ _Charles R Greathouse IV_, Jul 13 2016
%Y Cf. A010705, A096915.
%K sign,easy
%O 0,1
%A _Paul Curtz_, Oct 04 2007
|