n is simply the number you choose to start with.
If you enter n = 10, the program checks:
👉 10 and 20 (which is 2 × 10)
For every number n > 1, there is always at least one prime number between n and 2n.
A prime number is only divisible by 1 and itself.
The program highlights all primes between n and 2n.