Repunit
A repunit is a positive integer that consists entirely of the digit 1 in a given base. In base 10, the decimal repunits are numbers such as 1, 11, 111, and so on. More generally, a repunit in base b with n digits is the number consisting of n consecutive 1s in base b.
Notation and formula: R_n(b) denotes this number. It can be written as R_n(b) = 1 + b + b^2
Properties: If d divides n, then R_d(b) divides R_n(b). This follows from the factorization of b^n -
Primality and study: A repunit prime is a repunit that is prime. In base 10, a necessary