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.

A278182 Number of dots in Maya numeral representation of n.

This page as a plain text file.
%I A278182 #54 Dec 02 2016 20:01:13
%S A278182 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,
%T A278182 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,
%U A278182 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
%N A278182 Number of dots in Maya numeral representation of n.
%H A278182 Wikipedia, <a href="https://en.wikipedia.org/wiki/Maya_numerals">Maya numerals</a>
%F A278182 a(n) = (n mod 5) + floor(n mod 100 / 20) for 0<=n<=359.
%e A278182 a(1) = 1 because 1 in Maya numerals is "." (one dot).
%e A278182 a(2) = 2 because 2 in Maya numerals is ".." (two dots).
%t A278182 Table[ Mod[n, 5] + Floor[Mod[n, 100]/20]  , {n, 0, 359}]
%Y A278182 Cf. A006968.
%K A278182 nonn,base
%O A278182 0,3
%A A278182 _José de Jesús Camacho Medina_, Nov 20 2016