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.

Showing 1-5 of 5 results.

A357970 a(n) is the number of segments used to represent the time of n minutes past midnight in the format hh:mm on a 7-segment calculator display; version where the digits '6', '7' and '9' use 6, 3 and 6 segments, respectively.

Original entry on oeis.org

24, 20, 23, 23, 22, 23, 24, 21, 25, 24, 20, 16, 19, 19, 18, 19, 20, 17, 21, 20, 23, 19, 22, 22, 21, 22, 23, 20, 24, 23, 23, 19, 22, 22, 21, 22, 23, 20, 24, 23, 22, 18, 21, 21, 20, 21, 22, 19, 23, 22, 23, 19, 22, 22, 21, 22, 23, 20, 24, 23, 20, 16, 19, 19, 18, 19, 20
Offset: 0

Views

Author

Stefano Spezia, Oct 22 2022

Keywords

Comments

The sequence is periodic of period 1440 since the term a(1440) = a(0) = 24 corresponds to the time 00:00.

Crossrefs

Programs

  • Mathematica
    a055643[n_]:=FromDigits@ Apply[Join, PadLeft[#, 2] & /@ IntegerDigits@ IntegerDigits[n, 60]]; a006942[n_] := Plus @@ (IntegerDigits@ n /. {0 -> 6, 1 -> 2, 2 -> 5, 3 -> 5, 7 -> 3, 8 -> 7, 9 -> 6}); a[n_]:=a006942[a055643[n]]+6(4-Ceiling[Log10[a055643[n]+1]]); Join[{24}, Array[a, 66]]

Formula

a(n) = A006942(A055643(n)) + 6*(4 - ceiling(log10(A055643(n) + 1))) for n > 0.
a(n) <= 26.

A357971 a(n) is the number of segments used to represent the time of n minutes past midnight in the format hh:mm on a 7-segment calculator display; version where the digits '6', '7' and '9' use 6, 4 and 6 segments, respectively.

Original entry on oeis.org

24, 20, 23, 23, 22, 23, 24, 22, 25, 24, 20, 16, 19, 19, 18, 19, 20, 18, 21, 20, 23, 19, 22, 22, 21, 22, 23, 21, 24, 23, 23, 19, 22, 22, 21, 22, 23, 21, 24, 23, 22, 18, 21, 21, 20, 21, 22, 20, 23, 22, 23, 19, 22, 22, 21, 22, 23, 21, 24, 23, 20, 16, 19, 19, 18, 19, 20
Offset: 0

Views

Author

Stefano Spezia, Oct 22 2022

Keywords

Comments

The sequence is periodic of period 1440 since the term a(1440) = a(0) = 24 corresponds to the time 00:00.

Crossrefs

Programs

  • Mathematica
    a055643[n_]:=FromDigits@ Apply[Join, PadLeft[#, 2] & /@ IntegerDigits@ IntegerDigits[n, 60]]; a010371[n_] := Plus @@ (IntegerDigits@ n /. {0 -> 6, 1 -> 2, 2 -> 5, 3 -> 5, 7 -> 4, 8 -> 7, 9 -> 6}); a[n_]:=a010371[a055643[n]]+6(4-Ceiling[Log10[a055643[n]+1]]); Join[{24},Array[a,66]]

Formula

a(n) = A010371(A055643(n)) + 6*(4 - ceiling(log10(A055643(n) + 1))) for n > 0.
a(n) <= 26.

A357972 a(n) is the number of segments used to represent the time of n minutes past midnight in the format hh:mm on a 7-segment calculator display; version where the digits '6', '7' and '9' use 5, 3 and 5 segments, respectively.

Original entry on oeis.org

24, 20, 23, 23, 22, 23, 23, 21, 25, 23, 20, 16, 19, 19, 18, 19, 19, 17, 21, 19, 23, 19, 22, 22, 21, 22, 22, 20, 24, 22, 23, 19, 22, 22, 21, 22, 22, 20, 24, 22, 22, 18, 21, 21, 20, 21, 21, 19, 23, 21, 23, 19, 22, 22, 21, 22, 22, 20, 24, 22, 20, 16, 19, 19, 18, 19, 19
Offset: 0

Views

Author

Stefano Spezia, Oct 22 2022

Keywords

Comments

The sequence is periodic of period 1440 since the term a(1440) = a(0) = 24 corresponds to the time 00:00.

Crossrefs

Programs

  • Mathematica
    a055643[n_]:=FromDigits@ Apply[Join, PadLeft[#, 2] & /@ IntegerDigits@ IntegerDigits[n, 60]]; a063720[n_] := Plus @@ (IntegerDigits@ n /. {0 -> 6, 1 -> 2, 2 -> 5, 3 -> 5, 6 -> 5, 7 -> 3, 8 -> 7, 9 -> 5}); a[n_]:=a063720[a055643[n]]+6(4-Ceiling[Log10[a055643[n]+1]]); Join[{24},Array[a,66]]

Formula

a(n) = A063720(A055643(n)) + 6*(4 - ceiling(log10(A055643(n) + 1))) for n > 0.
a(n) <= 26.

A357974 a(n) is the number of segments used to represent the time of n minutes past midnight in the format hh:mm on a 7-segment calculator display; version where the digits '6', '7' and '9' use 6, 3 and 5 segments, respectively.

Original entry on oeis.org

24, 20, 23, 23, 22, 23, 24, 21, 25, 23, 20, 16, 19, 19, 18, 19, 20, 17, 21, 19, 23, 19, 22, 22, 21, 22, 23, 20, 24, 22, 23, 19, 22, 22, 21, 22, 23, 20, 24, 22, 22, 18, 21, 21, 20, 21, 22, 19, 23, 21, 23, 19, 22, 22, 21, 22, 23, 20, 24, 22, 20, 16, 19, 19, 18, 19, 20
Offset: 0

Views

Author

Stefano Spezia, Oct 22 2022

Keywords

Comments

The sequence is periodic of period 1440 since the term a(1440) = a(0) = 24 corresponds to the time 00:00.

Crossrefs

Programs

  • Mathematica
    a055643[n_]:=FromDigits@ Apply[Join, PadLeft[#, 2] & /@ IntegerDigits@ IntegerDigits[n, 60]]; a277116[n_] := Plus @@ (IntegerDigits@ n /. {0 -> 6, 1 -> 2, 2 -> 5, 3 -> 5, 7 -> 3, 8 -> 7, 9 -> 5}); a[n_]:=a277116[a055643[n]]+6(4-Ceiling[Log10[a055643[n]+1]]); Join[{24},Array[a,66]]

Formula

a(n) = A277116(A055643(n)) + 6*(4 - ceiling(log10(A055643(n) + 1))) for n > 0.
a(n) <= 26.

A357999 a(n) is the number of times in the format hh:mm that can be represented in a 7-segment display by using only n segments (version A074458).

Original entry on oeis.org

1, 0, 5, 12, 14, 41, 74, 87, 128, 185, 185, 162, 167, 159, 119, 67, 26, 7, 1
Offset: 8

Views

Author

Stefano Spezia, Oct 23 2022

Keywords

Comments

Since 8 <= A357973(n) <= 26 the sequence is finite and begins with offset 8.

Crossrefs

Histogram of A357973.

Programs

  • Mathematica
    a055643[n_]:=FromDigits@ Apply[Join, PadLeft[#, 2] & /@ IntegerDigits@ IntegerDigits[n, 60]]; a074458[n_] := Plus @@ (IntegerDigits@ n /. {0 -> 6, 1 -> 2, 2 -> 5, 3 -> 5, 7 -> 4, 8 -> 7, 9 -> 5}); a[n_]:=a074458[a055643[n]]+6(4-Ceiling[Log10[a055643[n]+1]]);Table[Count[Join[{24},Array[a,1439]],n],{n,8,26}]
Showing 1-5 of 5 results.