OFFSET
0,1
COMMENTS
The sequence is periodic of period 1440 since the term a(1440) = a(0) = 24 corresponds to the time 00:00.
LINKS
Stefano Spezia, Table of n, a(n) for n = 0..1439 (first period of the sequence).
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]]
CROSSREFS
KEYWORD
nonn,base,easy
AUTHOR
Stefano Spezia, Oct 22 2022
STATUS
approved