cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A034326 Hours struck by a clock.

Original entry on oeis.org

1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 1, 2, 3, 4, 5, 6, 7, 8, 9
Offset: 1

Views

Author

Tae Su Chung (cts32(AT)hanmail.net)

Keywords

Comments

Period 12: repeat [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12].

Crossrefs

Cf. A010881 (n mod 12).

Programs

Formula

From Wesley Ivan Hurt, Sep 23 2014: (Start)
a(n) = (n-1) mod 12 + 1.
a(n) = a(n-12), n > 12.
G.f.: 11 + 1/(1-x) + x * (x + 2*x^2 + 3*x^3 + 4*x^4 + 5*x^5 + 6*x^6 + 7*x^7 + 8*x^8 + 9*x^9 + 10*x^10 + 11*x^11) / (1-x^12). (End)
From M. F. Hasler, Sep 25 2014: (Start)
a(n) = A010881(n-1) + 1.
G.f.: Sum_{k=1..12} k*x^k/(1-x^12). (End)
a(n) = n - 12*floor((n-1)/12). - Mikael Aaltonen, Jan 03 2014