GGGGGG= G*111,111= G*3*7*11*13*37, so A is either 3 or 7.
However, if A=3, then BCDEF=G*37037, so G≤2, but either G=1 or G=2 produces repeated digits in BCDEF. Thus, A=7, and BCDEF=G*15,873.
Since each letter must stand for a different digit, a quick check with a calculator gives that the only answer is G=6. |