Subcontests
(4)n=(odd prime)^a, R(n) = 11 ... 1
For each positive integer n, the number R(n)=11...1 is defined, which is made up of exactly n digits equal to 1. For example, R(5)=11111. Let n>4 be an integer for which, by writing all the positive divisors of R(n), it is true that each written digit belongs to the set {0,1}. Show that n is a power of an odd prime number.Clarification: A power of an odd prime number is a number of the form pa, where p is an odd prime number and a is a positive integer.