10^244 is worth 10, not 1, mod 2187.
10^n mod 2187 = 1 solves for n=243k, not 244k.
blackjack
flooble's webmaster puzzle