โ† Citrix questions
CodingReported in a candidate post, Jul 2025

Find the nth prime number in an Arithmetic Progression

Filed under Citrix

The question

Given the first term 'a', common difference 'd', and an integer 'n', find the nth prime number that appears in the AP series. Return 0 if 'a' and 'd' are not coprime.

No write-up yet. Related questions below have one.

Related Citrix questions

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