The nth term of the sequence is obtained by expressing the decimal number 1,000,000 in base P(n+1) where P(x) denotes the xth prime number.

Since, P(6) = 17; it follows that the missing term (fifth term) is obtained by expressing 1,000,000 in base 17; which is BG939.