A friend gave me a sequence of prime numbers 17 23 5 1013 2027 13 and said that they have a pattern. I tried to find something but I am stumped by the fact that the numbers first increase, then kill, increase and then decrease again. How do I find the next number?

  • $\begingroup$ I think your friend might have made a mistake and perhaps should have put 1019 instead of 1013? $\endgroup$
    – PDT
    Dec 10, 2023 at 15:00
  • 1
    $\begingroup$ I asked, and he said he was sure he did. $\endgroup$
    – whoisthat
    Dec 12, 2023 at 10:47
  • 5
    $\begingroup$ If you have a second question with different numbers, ask a new question. Do not alter this question in any way that invalidates the provided answer. $\endgroup$ Dec 12, 2023 at 16:26

1 Answer 1


These are

the largest prime factors of the numbers 2023-2028.

The next number is:

2029, a prime!


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.