[go: up one dir, main page]

login
A007884
Chimes made by clock striking quarter-hours.
1
1, 2, 3, 1, 1, 2, 3, 2, 1, 2, 3, 3, 1, 2, 3, 4, 1, 2, 3, 5, 1, 2, 3, 6, 1, 2, 3, 7, 1, 2, 3, 8, 1, 2, 3, 9, 1, 2, 3, 10, 1, 2, 3, 11, 1, 2, 3, 12, 1, 2, 3, 1, 1, 2, 3, 2, 1, 2, 3, 3, 1, 2, 3, 4, 1, 2, 3, 5, 1, 2, 3, 6, 1, 2, 3, 7, 1, 2, 3, 8, 1, 2, 3, 9, 1, 2, 3, 10, 1, 2, 3, 11, 1, 2, 3, 12
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