login
A278182
Number of dots in Maya numeral representation of n.
2
0, 1, 2, 3, 4, 0, 1, 2, 3, 4, 0, 1, 2, 3, 4, 0, 1, 2, 3, 4, 1, 2, 3, 4, 5, 1, 2, 3, 4, 5, 1, 2, 3, 4, 5, 1, 2, 3, 4, 5, 2, 3, 4, 5, 6, 2, 3, 4, 5, 6, 2, 3, 4, 5, 6, 2, 3, 4, 5, 6, 3, 4, 5, 6, 7, 3, 4, 5, 6, 7, 3, 4, 5, 6, 7, 3, 4, 5, 6, 7, 4, 5, 6, 7, 8, 4, 5, 6, 7, 8, 4, 5, 6, 7, 8, 4, 5, 6, 7
OFFSET
0,3
FORMULA
a(n) = (n mod 5) + floor(n mod 100 / 20) for 0<=n<=359.
EXAMPLE
a(1) = 1 because 1 in Maya numerals is "." (one dot).
a(2) = 2 because 2 in Maya numerals is ".." (two dots).
MATHEMATICA
Table[ Mod[n, 5] + Floor[Mod[n, 100]/20] , {n, 0, 359}]
CROSSREFS
Cf. A006968.
Sequence in context: A049264 A010874 A330358 * A309956 A125926 A125923
KEYWORD
nonn,base
AUTHOR
STATUS
approved