Base 2014 Termination

Suppose a rational number r<1r<1 can be expressed as r=1nr=\dfrac{1}{n} for some positive integer nn. The sum of all possible values of rr such that the base 20142014 representation of rr is a terminating decimal can be expressed as pq\dfrac{p}{q} for coprime positive integers p,qp,q. What is the value of pp?

×

Problem Loading...

Note Loading...

Set Loading...