I was reading:
Take $N \in \mathbf N$ such that $a_i \leq N$ for all $i \leq n$ and N is a multiple of every prime number ≤ n. We claim that then 1 + N, 1 + 2N, . . . , 1 + nN, 1 + (n + 1)N are pairwise relatively prime. To see this, suppose p is a prime number such that p | 1+iN and p | 1+jN (1 ≤ i < j ≤ n+ 1); then p divides their difference (j − i)N, but p ≡ 1 mod N, so p does not divide N, hence p | j − i ≤ n. But all prime numbers ≤ n divide N, and we have a contradiction
however, it didn't really make sense to me.
My confusion is where:
$$p \equiv 1 \pmod N$$
came from and how it contributed to the proof. Why does it matter that that if $p \equiv 1 \mod N$ is true then $p$ doesn't divide $N$?
I feel this suppose to be a pretty elementary proof but it is escaping me. What is the simplest way to see this proof? Or what step is the proof skipping? I know this suppose to be easy but something is escaping me....
context:
All you need is the conclusion that $p$ does not divide $N.$ It is enough to show that $\gcd(p,N) = 1.$ Now, as there is an integer $t$ such that $pt = 1 + jN,$ we arrive at the Bezout expression $$ pt - jN = 1 $$ which does the trick. See how, if $p|N,$ Bezout would force $p|1.$
Meanwhile, $N$ is divisible by all primes up to little $n.$ Since $p$ does not divide $N,$ we find that $$ p > n \; . $$ This leads to a contradiction when $p |(j-i) \leq n$
I do not see any reason to conclude that $p \equiv 1 \pmod N.$ That sort of thing happens when $N$ divides something involving $p,$ not when $p $ divides something involving $N.$