Loading web-font TeX/Math/Italic

Problem #200

Stick to the Bases

F(i,j) = sum of positive integers ( in base 10 ) having an identical representation in both base i and base j.

F(2,3)=1

Let S(N) be the sum of all values of F(i,j) for 2 \leq i < j \leq N

Find S(N) mod 22011663 for N = 10^{18}

Contributed by Manas Gupta

Solved by 70 users

Log in to submit answers.

Is something wrong?

Maintaining a collection of high quality questions is our top priority. If, however, you do find an error, report the problem and we'll make sure it is reviewed soon.