Problem #7
Exponentiation
f(x,n) = x^{2^1} + x^{2^2} + x^{2^3} + ... + x^{2^n}
You are given that f(2,10) \mod 1000000007 = 180974681
Calculate \sum\limits_{x=2}^{10^7} f(x,10^{18}) \mod 1000000007
f(x,n) = x^{2^1} + x^{2^2} + x^{2^3} + ... + x^{2^n}
You are given that f(2,10) \mod 1000000007 = 180974681
Calculate \sum\limits_{x=2}^{10^7} f(x,10^{18}) \mod 1000000007