Divisibility question; consecutive numbers

  • Context: Undergrad 
  • Thread starter Thread starter kid1
  • Start date Start date
  • Tags Tags
    Divisibility Numbers
Click For Summary

Discussion Overview

The discussion revolves around the problem of determining the greatest number of consecutive integers that are divisible by at least one prime number from a set of consecutive prime numbers. Participants explore this question in the context of both small and large primes, considering theoretical implications and examples.

Discussion Character

  • Exploratory
  • Mathematical reasoning
  • Debate/contested

Main Points Raised

  • One participant suggests that for a set of primes {2,3,5,...,p}, a sequence of consecutive integers can be constructed that is divisible by at least one of the primes.
  • Another participant argues that there are examples of longer sequences than the last prime, citing the range from 2 to 10 as having 9 integers divisible by the primes {2,3,5,7}.
  • Some participants propose that the sequence of consecutive integers divisible by the primes may be unbounded due to the existence of large gaps between primes.
  • However, it is also noted that for any fixed set of primes, there must be a bound, as certain forms of integers (like kM-1) are not divisible by any of the primes.
  • A later reply introduces a mathematical analogy involving a vector-valued function to analyze the distribution of integers that are not divisible by the primes.
  • One participant expresses frustration that the problem, despite its simple appearance, is complex and does not yield an easy solution.

Areas of Agreement / Disagreement

Participants express differing views on whether the sequence of consecutive integers divisible by the primes is bounded or unbounded, indicating that the discussion remains unresolved with multiple competing perspectives.

Contextual Notes

Participants mention the complexity of the problem and the challenges in determining the distribution of integers that are divisible by the primes, highlighting the need for further exploration of the mathematical properties involved.

kid1
Messages
3
Reaction score
0
Does anyone know the answer to this problem: if you have a set of consecutive prime numbers (2,3,5,7...), what is the greatest amount of consecutive integers that are divisible by at least one of the prime numbers? For 2,3,and 5, I know it is 5 (2 through 6, 24 through 28, 32 through 36...), but for really big primes I can't figure it out.
 
Physics news on Phys.org
Hi kid1! :smile:

Lets say you have prime {2,3,5,...,p}, then you can set x=2*3*5*...*p. Then

[tex]x+2,x+3,x+4,...,x+p,x+p+1[/tex]

is a sequence of consecutive integers such that one of the primes divides it. So there certainly are p consecutive integers not divisible by p. It's a good question whether p is the largest number of consecutive integers...
 
The largest is probably longer, given that it's easy to find one example longer than the last prime. For {2,3,5,7}, the numbers 2 to 10 (9 of them) are divisible by some prime of the list (because 7 and 11 are not twin).

P.S.: I googled this, if it helps someone:
http://oeis.org/A058989
 
Last edited:
Dodo said:
The largest is probably longer, given that it's easy to find one example longer than the last prime. For {2,3,5,7}, the numbers 2 to 10 (9 of them) are divisible by some prime of the list (because 7 and 11 are not twin).

P.S.: I googled this, if it helps someone:
http://oeis.org/A058989

Indeed, I suspect that it is unbounded. That is, the numbers become arbitrarily large. The reason is that there are arbitrary large gaps where no primes occur.
 
The sequence is probably unbounded, for the reason you state. But for a given, fixed prime, there must be a bound. This is because, if your primes are {2,3,5,...,p} and defining M=2*3*5*...*p, then all numbers of the form kM-1 are not divisible by any of the primes, so M-1 is an upper bound (by a large excess, probably).

Here's another hint. The problem is analogous to this one: given the vector-valued function F(n) = (n mod 2, n mod 3, n mod 5, ..., n mod p), find the longest sequence of consecutive integers such that there is some zero component on all of the corresponding F(n). These vectors repeat in a pattern (modulo M), and there are relatively few vectors which have no zeroes, namely 1*2*4*...*(p-1) of them (which happens to be phi(M)). The large majority of the vectors will have some zero. For an example, for {2,3,5,7}, M=210 but only 48 are zero-free. Distributed, how? Ahhh, that's the question.
 
Thank you Dodo, that link was helpful. I am dissapointed that the answer isn't just 2p-1; that was what my first guess would have been. It's really frustrating that such a simple sounding problem can be so hard! Using the zeroes of those mod functions is a good idea, but it would still be tough to figure out their distrubution, which is the essence of the problem.
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 6 ·
Replies
6
Views
4K
  • · Replies 12 ·
Replies
12
Views
2K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 12 ·
Replies
12
Views
1K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K