OFFSET
0,2
COMMENTS
Periodic sequence with period 48. - Michel Marcus, Jul 17 2013
MATHEMATICA
Table[Flatten[Table[PadRight[{1, 2, 3}, 4, h], {h, 12}]], {2}]//Flatten (* Harvey P. Dale, Jun 16 2023 *)
PROG
(PARI) a(n)= if((n+1)%4, (n+1)%4, ((n+1)/4-1)%12+1) \\ Michel Marcus, Jul 17 2013
CROSSREFS
KEYWORD
nonn
AUTHOR
STATUS
approved