The Question (from Purple Comet math contest 2020):
Find the least prime $p > 1000$ that divides $n = 2^{1010} \cdot 23^{2020} + 1$.
What I tried:
So I want to figure out the least prime $p > 1000$ that divides that mess.
I first rewrote $n$ as $((46 \cdot 23)^2)^{505} + 1$ since this tells us that $m = (46 \cdot 23)^2 + 1 \mid ((46 \cdot 23)^2)^{505} + 1$.
So I was thinking if we could find the prime factors of $m$, they would also be prime factors for $n$, then maybe one of them is $> 1000$. But there is no guarantee that any would be the minimum.
I am stuck at this point as I have a feeling that tediously finding prime factors of $m$ is not a safe approach. I am a beginner at these kinds of questions, so I don't know/have experience with many number theory techniques for these sorts of problems.
My Question: What techniques/small hints would be useful for this problem?