login
A059857
Alternating clock-face numbers.
0
12, 1, 11, 2, 10, 3, 9, 4, 8, 5, 7, 6, 6, 7, 5, 8, 4, 9, 3, 10, 2, 11, 1, 12, 12, 1, 11, 2, 10, 3, 9, 4, 8, 5, 7, 6, 6, 7, 5, 8, 4, 9, 3, 10, 2, 11, 1, 12, 12, 1, 11, 2, 10, 3, 9, 4, 8, 5, 7, 6, 6, 7, 5, 8, 4, 9, 3, 10, 2, 11, 1, 12, 12, 1, 11, 2, 10, 3, 9, 4, 8, 5, 7, 6, 6, 7, 5, 8, 4, 9, 3, 10, 2
OFFSET
0,1
COMMENTS
Has period 24: a(n+24)=a(n).
FORMULA
If you start with 12 on a clock's face and move forward 1 it yields the number 1, then moving backward 2 yields 11, then moving forward 3 yields 2, moving backward 4 yields 10 and so forth.
MATHEMATICA
PadRight[{}, 120, Riffle[Range[12, 1, -1], Range[12]]] (* Harvey P. Dale, Aug 26 2024 *)
CROSSREFS
Sequence in context: A068329 A334074 A010215 * A322762 A070649 A255864
KEYWORD
nonn,easy
AUTHOR
Jason Earls, Feb 26 2001
EXTENSIONS
More terms from Henry Bottomley, Feb 28 2001
STATUS
approved