Let’s begin this post with an extension of the concept of divisibility of integers by a prime number to divisibility of positive rational numbers by a prime number.
Definition. Let be a prime number, and where are positive integers and Then we say that or, equivalently, if
The following problem was posted on the Art of Problem Solving website a couple of years ago and remained unsolved until I saw it a couple of months ago! haha …
Problem. Let be a positive integer such that is a prime number. Show that
Solution. I wrote the problem here as it was posted on the AoPS website but I think a much better problem is to prove that
which obviously solves the problem posted on AoPS too.
Proof of For a positive integer we’ll write for the inverse of modulo Also, for simplicity, we’ll write instead of It is clear that Now
and so
which gives
On the other hand,
The equivalence now follows from