IMC Trading Interview Question

find a subsequent number in a given series