We have two positive integers and such that
Note that refers to the decimal expression, where if then .
Find the remainder when 1000000007 is divided by .
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
I found it pretty remarkable to see that 5/2=2.5 happened only for 2 and 5. As I went on trying for bigger numbers I was surprised to see that no number satisfied this strange property. In fact I think (2,5) is the only solution to this expression.