This question was asked in my number theory quiz and I was unable to solve it.
Prove that there exists infinitely many primes of the form 5k-1.
Professor was kind enough to give a hint to consider $5(n!) ^{2} -1$ .
I proved that any prime dividing $5(n!) ^{2} -1$ must be greater than n but can't think of anything. Even I can't think along the lines along $x^{2} \equiv a$ (mod p) as 5 is there along with square of n! .
It's my humble request to you to shed some light on this question.
It's a first course on number theory and contains elementary number theory only.