A Fascinating Number Problem

Algebra Level pending

Do there exist 2020 consecutive positive integers satisfying that one is prime and the remaining are composite?

no yes

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

2 solutions

Mohammed Imran
Feb 25, 2020

Pick a n>2018 such that n!+1 is prime. Consider the sequence: n!, n!+1, n!+2,...,n!+2019. Here, since n>2018 and n!+1 is prime, and we have that all the terms except n!+1 are composite this is the required sequence. Hence the answer is yes.

How are you going to guarantee that you can find n n such that n ! + 1 n! + 1 is prime?

Let p p be the largest prime smaller than 2020 ! + 2 2020! + 2 . Then all the numbers from p + 1 p+1 to 2020 ! + 2020 2020! + 2020 are composite, and there are at least 2019 2019 of them. Start with p p , and choose the next 2019 2019 numbers.

Mark Hennings - 1 year, 3 months ago

Log in to reply

I was going to make the same comment. The idea in the solution is right - we can find arbitrarily large prime gaps since we know all the numbers from m ! + 2 m!+2 to m ! + m m!+m must be composite for m > 1 m>1 . However, the primality of n ! + 1 n!+1 is tricky; see this OEIS sequence for all n n such that n ! + 1 n!+1 is known to be prime - there are only 4 4 such n n larger than 2018 2018 . It seems to still be an open conjecture whether or not there are infinitely many primes of the form n ! + 1 n!+1 (there are links to papers on this from the OEIS site).

Chris Lewis - 1 year, 3 months ago

Why not mark hennings?

Mohammed Imran - 1 year, 3 months ago

Log in to reply

As Chris Lewis has said in his comment to me, the OEIS link shows that there are only four values of n > 2018 n > 2018 where n ! + 1 n! + 1 is known to be prime. This means that, while your proof works, since such an n n exists, it is not at all obvious that it should exist. Just because n ! + 1 n!+1 is not divisible by 2 , 3 , 4 , . . . , n 2,3,4,...,n does not make it prime!

Anyway, as my comment made clear, it is not necessary to know whether n ! + 1 n!+ 1 is prime or not.

Mark Hennings - 1 year, 3 months ago

Log in to reply

I accept your solution is better but my solution is correct as well

Mohammed Imran - 1 year, 3 months ago
Kushal Dey
Jan 9, 2021

Well, as we look for large prime numbers, the difference between consecutive primes also increases, if we just find 2 consecutive large prime numbers whose difference is more than 2018, we are done

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...