[Community Puzzle] The Prime Twins - Part one - Puzzle discussion

Coding Games and Programming Challenges to Code Better

Send your feedback or ask for help here!

Created by @Cyber-Kotik,validated by @LeMasSon,@DeanTheMachine and @idspispopd.
If you have any issues, feel free to ping them.

This is too easy for classic puzzles, especially with languages like Python and Ruby with built-in PRIME modules …

Should have been a COC …

I don’t know what i am missing but for the submit test i always fail the 4th. could it be that n is bigger than 100’000?

Hi,

In the 4th validator n is not bigger than 100.000, it’s exactly 100.000

Oh I see. I only check for pairs up to 100.000. And then it doesn’t check within the next 200 where the result is. Thank you for your reply.