← Deutsche Bank questions

Count N-digit magic numbers with remainder K modulo M

Filed under Deutsche Bank

Count N-digit numbers where digits at prime positions are prime (2, 3, 5, 7) and digits at non-prime positions are non-prime (0, 1, 4, 6, 8, 9), such that the number % M == K.

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 Deutsche Bank questions

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