Primes with Specific Last Digit and Fixed Additions
Filed under Sabre
The question
Given numbers N and K, find the first N prime numbers whose last digit is K, and add 2 and 5 to the answer array regardless of K.
No write-up yet. Related questions below have one.
Related Sabre questions
Collected from public candidate posts and coding forums. Updated Nov 2026.