Problem #304
Radicalism
Rainboy always hated irrational numbers and he hated radicals even more, to irritate him RadeWoosh came up with a very irritating problem which involved irrational numbers. The problem can be formally stated as below:
RadeWoosh wants Rainboy to express (\sqrt{3}-\sqrt{2})^{999.....9 (18 digits)} as \sqrt{a} -\sqrt{b} where a and b are consecutive whole numbers and a > b. Help Rainboy to find the a modulo 1000000007.