Which of the following numbers will replace the question mark (?) in the given series? 58,117,237,479,965,?