2017 Divides String of 1s

Let On=1111111 number of 1’s =n.O_n = \underbrace{111111\ldots1}_{\text{ number of 1's }=\, n}.

Find the smallest positive integer nn such that 2017On2017 \mid O_n.

If there is no such nn, enter 0.

×

Problem Loading...

Note Loading...

Set Loading...