← Accenture questions

Calculate nth or mth number from series based on parity

Filed under Accenture

Given an integer x, find the nth number of a custom series if x is even, or the mth number of the series if x is odd, where elements are generated using polynomial terms or sums like 1^k + x.

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related Accenture questions

Collected from public candidate posts and coding forums. Updated Nov 2026.