โ† Societe Generale questions

Prime number generation with constraints

Filed under Societe Generale

The question

Print N prime numbers ending in 1, 3, 5, or 7, including 2 and 5 in the output, sorted.

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

Related Societe Generale questions

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