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.

A123587 Number of bars that must change on a standard digital clock when the minutes change from n-1 to n.

Original entry on oeis.org

5, 4, 5, 2, 3, 3, 1, 5, 4, 1, 6, 4, 5, 2, 3, 3, 1, 5, 4, 1, 7, 4, 5, 2, 3, 3, 1, 5, 4, 1, 4, 4, 5, 2, 3, 3, 1, 5, 4, 1, 5, 4, 5, 2, 3, 3, 1, 5, 4, 1, 5, 4, 5, 2, 3, 3, 1, 5, 4, 1, 5, 4, 5, 2, 3, 3, 1, 5, 4, 1, 6, 4, 5, 2, 3, 3, 1, 5, 4, 1, 7, 4, 5, 2, 3, 3, 1, 5, 4, 1, 4, 4, 5, 2, 3, 3, 1, 5, 4, 1, 5, 4, 5, 2, 3, 3, 1, 5, 4, 1, 5, 4, 5, 2, 3, 3, 1, 5, 4, 1
Offset: 0

Views

Author

Danny Rorabaugh, Nov 13 2006

Keywords

Comments

Cyclic with period 60.

Examples

			a(20)=7 because when the clock changes from 19 to 20 minutes, 1 bar turns off and 4 bars turn on in the tens digit for the "0" to become a "1" and 1 bar turns off and 1 turns on in the units digit for the "9" to become a "0". 1 + 4 + 1 + 1 = 7.
		

Crossrefs