Let $n \in \mathbb{N}$. Find all $n$ satisfying that $(2n+5) \mid (5n-1)$.
Attempt: Since $2n+5$ divides $5n-1$, it must be that $$(2n+5) \mid (a(2n+5)+b(5n-1)) \ \text{for all} \ a, b \in \mathbb{N}.$$ In particular, $(2n+5) \mid ((5)(2n+5)+(-2)(5n-1))$. That is, $(2n+5) \mid 27.$
This means $2n+5 \in \{1, -1, 3, -3, 9, -9, 27, -27\}$ giving that $$n \in \{-16, -7, -4, -3, -2, -1, 2, 11\}.$$
The remaining question is : are there any other such $n$ ? Is the list above exclusive ?
I feel like what I use is just a necessary condition, $$(2n+5) \mid (5n-1) \rightarrow (a(2n+5)+b(5n-1)) \ \text{for all} \ a, b \in \mathbb{N}.$$ So I need to show that "sufficient side" as well.
Here I have that $2n+5 \mid 27$, which is just one possibility among infinitely many $a, b \in \mathbb{N}$. Somehow, if my thought is logically correct, I have that $$2n+5 \mid 27 \ \text{AND} \ (2n+5) \mid (a(2n+5)+b(5n-1)) \ \text{for all} \ a, b \in \mathbb{N}.$$ Having "AND" as the logical conjection means if the number $27$ is somehow the strictest condition among all other numbers arising form the $\mathbb{Z}-$linear combination of $2n+5$ and $5n-1$, it should imply that the list includes all possible numbers. Though I still contemplate what should be "the strictest" means, am I doing the right way ?
\mid(among others), not|. This gives correct spacing. I have replaced it. – Martin Brandenburg Jan 12 '25 at 14:58