%I #18 Dec 15 2023 17:13:52
%S 0,1,3,8,3,1,0,8,6,1,6,8,0,1,3,8,3,1,0,8,6,1,6,8,0,1,3,8,3,1,0,8,6,1,
%T 6,8,0,1,3,8,3,1,0,8,6,1,6,8,0,1,3,8,3,1,0,8,6,1,6,8,0,1,3,8,3,1,0,8,
%U 6,1,6,8,0,1,3,8,3,1,0,8,6,1,6,8,0,1,3,8,3,1,0,8,6,1,6,8,0,1,3,8,3
%N Period 12: repeat [0,1,3,8,3,1,0,8,6,1,6,8].
%H <a href="/index/Rec#order_12">Index entries for linear recurrences with constant coefficients</a>, signature (0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1).
%F a(n) = a(n-12). - _Wesley Ivan Hurt_, May 24 2021
%t LinearRecurrence[{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1},{0, 1, 3, 8, 3, 1, 0, 8, 6, 1, 6, 8},48] (* _Ray Chandler_, Aug 08 2015 *)
%t PadRight[{},120,{0,1,3,8,3,1,0,8,6,1,6,8}] (* _Harvey P. Dale_, Dec 15 2023 *)
%o (PARI) a(n)=[0,1,3,8,3,1,0,8,6,1,6,8][n%12+1] \\ _Charles R Greathouse IV_, Jul 13 2016
%K nonn,easy
%O 0,3
%A _Paul Curtz_, Feb 06 2009