For a positive integer n, let
\(R_n = \underbrace{111 \dots 1}_{n \text{ 1s}}.\)
For example, \(R_4 = 1111.\)
Find the polynomial p(x) such that \(p(R_n) = R_{2n + 1}\) for all positive integers n. (Give your answer in base 10.)