What do you call a number formed by a sequence of repeating digits

Solution 1:

This type of number is commonly called a repdigit number, or sometimes a monodigit number. This term is used most frequently in recreational mathematics and is most often seen in investigations into prime numbers.

See wikipedia article on repdigit for details.

Solution 2:

It's called a periodic sequence. See wikipedia.