An integer is called N-free if its decimal expansion does not contain any substring representing a power of N except 1.

Let E(n) be the nth positive 79-free integer. For example E(1234) = 1256 and E(98765) = 102813.

Find the largest 3 digits of E( 10^{7} ) and type them in ascending order.

P.S. This is a Computer Science Problem and has almost been taken from P $$@

×

Problem Loading...

Note Loading...

Set Loading...