# Repdigit

(Redirected from Brazilian number)

In recreational math, a repdigit or a monodigit is a type of natural number. It is only made of the same repeated digit. The word is a portmanteau of repeated and digit. Examples can be numbers like 11, 666, 4444, and 999999. Repdigits are palindromic numbers (read the same forwards and backwards) and are multiples of repunits (a number that only has 1 in it).

Repdigits are the written in base $B$ of the number $x{\frac {B^{y}-1}{B-1}}$ where x is the digit that is repeated ($0 ), and $1 is how many times that number repeats. For example, the repdigit 77777 in base 10 is $7\times {\frac {10^{5}-1}{10-1}}$ .

Brazilian numbers are another way of making repdigits. These are numbers that can be written as a repdigit in any base. A Brazilian Number can't be the repdigit 11 and it can't be a number with only one digit. 27 would be a Brazilian number because 27 is the repdigit 33 in base 8. 9 is not a Brazilian number because its only repdigit is 118. The first twenty Brazilian numbers are

7, 8, 10, 12, 13, 14, 15, 16, 18, 20, 21, 22, 24, 26, 27, 28, 30, 31, 32, 33, ... (sequence A125134 in the OEIS).

## History

Repdigits were studied since 1974. In Beiler (1966), it was originally called "monodigit numbers". Brazilian numbers were created later in 1994 in the 9th Iberoamerican Mathematical Olympiad. It took place in Fortaleza, Brazil. The first problem in this competition, proposed by Mexico, was this:

"A number n > 0 is called "Brazilian" if there exists an integer b such that 1 < b < n – 1 for which the representation of n in base b is written with all equal digits. Prove that 1994 is Brazilian and that 1993 is not Brazilian."