A d-repdigit is a number composed of repetition of a single digit (in a given base, generally taken as base 10 unless otherwise specified). For example, the beast number 666 is a (base-10) repdigit. The following table gives the first few repdigits in bases b = 2 to 10.