Skip to main content
OlympiadHQ

Browse · MATH

Print

jmc

number theory senior

Problem

Let be the set of integers for which , an infinite decimal that has the property that for all positive integers . Given that is prime, how many positive integers are in ? (The are digits.)
Solution
Let , the first decimal digits of . We can see thatso is the set that contains all divisors of except for . Sincethe number has divisors and our answer is
Final answer
255