Problem #59
Ones and Zeros
Let S = 2^a + 2^b + 2^c + 2^d + 2^e where a,b,c,d,e are distinct whole numbers.
Let S_{n} be the n^{th} number such that for all i \lt n, S_{i} \lt S_{n} and for i \gt n, S_{i}\gt S_{n}.
Find S_{2131646} \mod 10^{9}+7.
Let S = 2^a + 2^b + 2^c + 2^d + 2^e where a,b,c,d,e are distinct whole numbers.
Let S_{n} be the n^{th} number such that for all i \lt n, S_{i} \lt S_{n} and for i \gt n, S_{i}\gt S_{n}.
Find S_{2131646} \mod 10^{9}+7.