Is the next prime number always the next number divisible by the current prime number, except for any numbers previously divisible by primes? [closed]There is a prime between $n$ and $n^2$, without BertrandThe number of numbers not divisible by $2,3,5,7$ or $11$ between multiples of $2310$Is the product of two primes ALWAYS a semiprime?Any odd > 1 is the average of three primesWhy are all non-prime numbers divisible by a prime number?Finding the rank of a particular number in a sequence of the sum of numbers and their highest prime factorA number n is not a Prime no and lies between 1 to 301,how many such numbers are there which is not divisible by 2,3,5,7.List of positive integers NOT divisible by smallest q prime numbersan upper bound for number of prime divisorsCan you propose a conjectural $textUpper bound(x)$ for the counting function of a sequence of primes arising from the Eratosthenes sieve?Why is “jump” between two primes (almost) always prime or 1 up to 1000?

Is it ok for parents to kiss and romance with each other while their 2- to 8-year-old child watches?

How to slice a string input at a certain unknown index

Interpretation of non-significant results as "trends"

Passwordless authentication - how and when to invalidate a login code

Was it ever illegal to name a pig "Napoleon" in France?

A ring of generalized power series

Why did Old English lose both thorn and eth?

Very Simple Spell (Number to Words) 001 to 999 in VBA

How do I use my adapted PS2 keyboard & mouse on a windows 10 computer?

Category-theoretic treatment of diffs, patches and merging?

Moving millions of files to a different directory with specfic name patterns

Deck of Cards with Shuffle and Sort functionality

Can one block with a protection from color creature?

Is it possible to complete a PhD in CS in 3 years?

What are the effects of abstaining from eating a certain flavor?

How do I separate enchants from items?

Why "Supports 5V VCC operation" appeared in LVC family datasheets?

How do I talk to my wife about unrealistic expectations?

Intern not wearing safety equipment; how could I have handled this differently?

Writing an ace/aro character?

Users forgotting to regenerate PDF before sending it

In layman's terms, does the Luckstone just give a passive +1 to all d20 rolls and saves except for death saves?

The Apéry's constant and the Airy function

How to evaluate the performance of open source solver?



Is the next prime number always the next number divisible by the current prime number, except for any numbers previously divisible by primes? [closed]


There is a prime between $n$ and $n^2$, without BertrandThe number of numbers not divisible by $2,3,5,7$ or $11$ between multiples of $2310$Is the product of two primes ALWAYS a semiprime?Any odd > 1 is the average of three primesWhy are all non-prime numbers divisible by a prime number?Finding the rank of a particular number in a sequence of the sum of numbers and their highest prime factorA number n is not a Prime no and lies between 1 to 301,how many such numbers are there which is not divisible by 2,3,5,7.List of positive integers NOT divisible by smallest q prime numbersan upper bound for number of prime divisorsCan you propose a conjectural $textUpper bound(x)$ for the counting function of a sequence of primes arising from the Eratosthenes sieve?Why is “jump” between two primes (almost) always prime or 1 up to 1000?






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








3












$begingroup$


Is the next prime number always the next number divisible by the current prime number, except for any numbers previously divisible by primes?



E.g. take prime number $7$, squared is $49$. The next numbers not previously divisible by $2,3,5$ are $53,59,61,67,71,73,77$ -i.e. the next number divisible by $7$ is $11 times 7$ - the next prime number times the previous one.



Similarly, take $11$: squared $121$. the next numbers not divisible by $2,3,5,7$ are: $127,131,137,139,143$. i.e. $143$ is the next number divisible by $11$, which is $13 times 11$, $13$ being the next prime in the sequence.



Is this always the case? Can it be that the next prime number in sequence is not neatly divisible by the previous one or has one in between?



Appreciate this may be a silly question, i'm not a mathematician.










share|cite|improve this question











$endgroup$



closed as unclear what you're asking by mrtaurho, Dietrich Burde, YiFan, Lee David Chung Lin, Parcly Taxel Mar 26 at 3:25


Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.













  • 11




    $begingroup$
    Your description is confusing--for instance, if the current prime number is $7$, then "the next number divisible by the current prime number, except for any numbers divisible by primes we already have" would be $77$, which is not the next prime (the next prime is $11$).
    $endgroup$
    – Eric Wofsey
    Mar 25 at 20:24






  • 1




    $begingroup$
    See Sieve of Eratosthenes en.wikipedia.org/wiki/Sieve_of_Eratosthenes
    $endgroup$
    – mfl
    Mar 25 at 20:25










  • $begingroup$
    sorry, i mean that 77 is the next prime, times the previous prime. ill edit to clarify
    $endgroup$
    – David
    Mar 25 at 20:26










  • $begingroup$
    Welcome to Math Stack Exchange. Are you saying that, if $p_n$ is the $n^th$ prime number, then the next composite number after $p_n^2$ not divisible by $p_1,p_2,...,p_n-1$ is $p_ntimes p_n+1$?
    $endgroup$
    – J. W. Tanner
    Mar 25 at 20:28







  • 2




    $begingroup$
    Hi. Your title & first sentence still don't make sense, a prime isn't divisible by anything but itself & 1. What are you asking? Use enough words, phrases & sentences to say what you mean. Clarify via edits, not commments.
    $endgroup$
    – philipxy
    Mar 26 at 1:57

















3












$begingroup$


Is the next prime number always the next number divisible by the current prime number, except for any numbers previously divisible by primes?



E.g. take prime number $7$, squared is $49$. The next numbers not previously divisible by $2,3,5$ are $53,59,61,67,71,73,77$ -i.e. the next number divisible by $7$ is $11 times 7$ - the next prime number times the previous one.



Similarly, take $11$: squared $121$. the next numbers not divisible by $2,3,5,7$ are: $127,131,137,139,143$. i.e. $143$ is the next number divisible by $11$, which is $13 times 11$, $13$ being the next prime in the sequence.



Is this always the case? Can it be that the next prime number in sequence is not neatly divisible by the previous one or has one in between?



Appreciate this may be a silly question, i'm not a mathematician.










share|cite|improve this question











$endgroup$



closed as unclear what you're asking by mrtaurho, Dietrich Burde, YiFan, Lee David Chung Lin, Parcly Taxel Mar 26 at 3:25


Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.













  • 11




    $begingroup$
    Your description is confusing--for instance, if the current prime number is $7$, then "the next number divisible by the current prime number, except for any numbers divisible by primes we already have" would be $77$, which is not the next prime (the next prime is $11$).
    $endgroup$
    – Eric Wofsey
    Mar 25 at 20:24






  • 1




    $begingroup$
    See Sieve of Eratosthenes en.wikipedia.org/wiki/Sieve_of_Eratosthenes
    $endgroup$
    – mfl
    Mar 25 at 20:25










  • $begingroup$
    sorry, i mean that 77 is the next prime, times the previous prime. ill edit to clarify
    $endgroup$
    – David
    Mar 25 at 20:26










  • $begingroup$
    Welcome to Math Stack Exchange. Are you saying that, if $p_n$ is the $n^th$ prime number, then the next composite number after $p_n^2$ not divisible by $p_1,p_2,...,p_n-1$ is $p_ntimes p_n+1$?
    $endgroup$
    – J. W. Tanner
    Mar 25 at 20:28







  • 2




    $begingroup$
    Hi. Your title & first sentence still don't make sense, a prime isn't divisible by anything but itself & 1. What are you asking? Use enough words, phrases & sentences to say what you mean. Clarify via edits, not commments.
    $endgroup$
    – philipxy
    Mar 26 at 1:57













3












3








3


2



$begingroup$


Is the next prime number always the next number divisible by the current prime number, except for any numbers previously divisible by primes?



E.g. take prime number $7$, squared is $49$. The next numbers not previously divisible by $2,3,5$ are $53,59,61,67,71,73,77$ -i.e. the next number divisible by $7$ is $11 times 7$ - the next prime number times the previous one.



Similarly, take $11$: squared $121$. the next numbers not divisible by $2,3,5,7$ are: $127,131,137,139,143$. i.e. $143$ is the next number divisible by $11$, which is $13 times 11$, $13$ being the next prime in the sequence.



Is this always the case? Can it be that the next prime number in sequence is not neatly divisible by the previous one or has one in between?



Appreciate this may be a silly question, i'm not a mathematician.










share|cite|improve this question











$endgroup$




Is the next prime number always the next number divisible by the current prime number, except for any numbers previously divisible by primes?



E.g. take prime number $7$, squared is $49$. The next numbers not previously divisible by $2,3,5$ are $53,59,61,67,71,73,77$ -i.e. the next number divisible by $7$ is $11 times 7$ - the next prime number times the previous one.



Similarly, take $11$: squared $121$. the next numbers not divisible by $2,3,5,7$ are: $127,131,137,139,143$. i.e. $143$ is the next number divisible by $11$, which is $13 times 11$, $13$ being the next prime in the sequence.



Is this always the case? Can it be that the next prime number in sequence is not neatly divisible by the previous one or has one in between?



Appreciate this may be a silly question, i'm not a mathematician.







elementary-number-theory prime-numbers






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited Mar 25 at 21:25









Mr. Brooks

3981 gold badge14 silver badges39 bronze badges




3981 gold badge14 silver badges39 bronze badges










asked Mar 25 at 20:19









DavidDavid

1245 bronze badges




1245 bronze badges




closed as unclear what you're asking by mrtaurho, Dietrich Burde, YiFan, Lee David Chung Lin, Parcly Taxel Mar 26 at 3:25


Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.









closed as unclear what you're asking by mrtaurho, Dietrich Burde, YiFan, Lee David Chung Lin, Parcly Taxel Mar 26 at 3:25


Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.









  • 11




    $begingroup$
    Your description is confusing--for instance, if the current prime number is $7$, then "the next number divisible by the current prime number, except for any numbers divisible by primes we already have" would be $77$, which is not the next prime (the next prime is $11$).
    $endgroup$
    – Eric Wofsey
    Mar 25 at 20:24






  • 1




    $begingroup$
    See Sieve of Eratosthenes en.wikipedia.org/wiki/Sieve_of_Eratosthenes
    $endgroup$
    – mfl
    Mar 25 at 20:25










  • $begingroup$
    sorry, i mean that 77 is the next prime, times the previous prime. ill edit to clarify
    $endgroup$
    – David
    Mar 25 at 20:26










  • $begingroup$
    Welcome to Math Stack Exchange. Are you saying that, if $p_n$ is the $n^th$ prime number, then the next composite number after $p_n^2$ not divisible by $p_1,p_2,...,p_n-1$ is $p_ntimes p_n+1$?
    $endgroup$
    – J. W. Tanner
    Mar 25 at 20:28







  • 2




    $begingroup$
    Hi. Your title & first sentence still don't make sense, a prime isn't divisible by anything but itself & 1. What are you asking? Use enough words, phrases & sentences to say what you mean. Clarify via edits, not commments.
    $endgroup$
    – philipxy
    Mar 26 at 1:57












  • 11




    $begingroup$
    Your description is confusing--for instance, if the current prime number is $7$, then "the next number divisible by the current prime number, except for any numbers divisible by primes we already have" would be $77$, which is not the next prime (the next prime is $11$).
    $endgroup$
    – Eric Wofsey
    Mar 25 at 20:24






  • 1




    $begingroup$
    See Sieve of Eratosthenes en.wikipedia.org/wiki/Sieve_of_Eratosthenes
    $endgroup$
    – mfl
    Mar 25 at 20:25










  • $begingroup$
    sorry, i mean that 77 is the next prime, times the previous prime. ill edit to clarify
    $endgroup$
    – David
    Mar 25 at 20:26










  • $begingroup$
    Welcome to Math Stack Exchange. Are you saying that, if $p_n$ is the $n^th$ prime number, then the next composite number after $p_n^2$ not divisible by $p_1,p_2,...,p_n-1$ is $p_ntimes p_n+1$?
    $endgroup$
    – J. W. Tanner
    Mar 25 at 20:28







  • 2




    $begingroup$
    Hi. Your title & first sentence still don't make sense, a prime isn't divisible by anything but itself & 1. What are you asking? Use enough words, phrases & sentences to say what you mean. Clarify via edits, not commments.
    $endgroup$
    – philipxy
    Mar 26 at 1:57







11




11




$begingroup$
Your description is confusing--for instance, if the current prime number is $7$, then "the next number divisible by the current prime number, except for any numbers divisible by primes we already have" would be $77$, which is not the next prime (the next prime is $11$).
$endgroup$
– Eric Wofsey
Mar 25 at 20:24




$begingroup$
Your description is confusing--for instance, if the current prime number is $7$, then "the next number divisible by the current prime number, except for any numbers divisible by primes we already have" would be $77$, which is not the next prime (the next prime is $11$).
$endgroup$
– Eric Wofsey
Mar 25 at 20:24




1




1




$begingroup$
See Sieve of Eratosthenes en.wikipedia.org/wiki/Sieve_of_Eratosthenes
$endgroup$
– mfl
Mar 25 at 20:25




$begingroup$
See Sieve of Eratosthenes en.wikipedia.org/wiki/Sieve_of_Eratosthenes
$endgroup$
– mfl
Mar 25 at 20:25












$begingroup$
sorry, i mean that 77 is the next prime, times the previous prime. ill edit to clarify
$endgroup$
– David
Mar 25 at 20:26




$begingroup$
sorry, i mean that 77 is the next prime, times the previous prime. ill edit to clarify
$endgroup$
– David
Mar 25 at 20:26












$begingroup$
Welcome to Math Stack Exchange. Are you saying that, if $p_n$ is the $n^th$ prime number, then the next composite number after $p_n^2$ not divisible by $p_1,p_2,...,p_n-1$ is $p_ntimes p_n+1$?
$endgroup$
– J. W. Tanner
Mar 25 at 20:28





$begingroup$
Welcome to Math Stack Exchange. Are you saying that, if $p_n$ is the $n^th$ prime number, then the next composite number after $p_n^2$ not divisible by $p_1,p_2,...,p_n-1$ is $p_ntimes p_n+1$?
$endgroup$
– J. W. Tanner
Mar 25 at 20:28





2




2




$begingroup$
Hi. Your title & first sentence still don't make sense, a prime isn't divisible by anything but itself & 1. What are you asking? Use enough words, phrases & sentences to say what you mean. Clarify via edits, not commments.
$endgroup$
– philipxy
Mar 26 at 1:57




$begingroup$
Hi. Your title & first sentence still don't make sense, a prime isn't divisible by anything but itself & 1. What are you asking? Use enough words, phrases & sentences to say what you mean. Clarify via edits, not commments.
$endgroup$
– philipxy
Mar 26 at 1:57










3 Answers
3






active

oldest

votes


















4












$begingroup$

Think of it this way. Let $p_k$ be the $k$ prime. Let $n$ be the first composite number greater than $p_k$ so that $n$ is not divisible by $p_1,..., p_k-1$.



Claim: $n = p_kcdot p_k+1$.



Pf:



What else could it be? $n$ must have a prime factors. And those prime factor must be greater the $p_k+1$. The smallest number with at least two prime factors all bigger than $p_k-1$ must be $p_kcdot p_k+1$ because $p_k, p_k+1$ are the smallest choices for prime factors and the fewer prime factors the smaller the number will be.



so $n= p_kp_k+1$ IF $n$ has at least two prime factors.



So if $nne p_kp_k+1$ then 1) $n le p_kp_k+1$ and 2) $n$ has only one prime factor so $n=q^m$ for some prime $q$ and integer $m$.



If so, then $q ge p_k+1$ then $q^m ge p_k+1^mge p_k+1^2 > p_k*p_k+1$ which is a contradiction so $q= p_k$ and $n = p_k^m > p_k^2$. As $n$ is the smallest possible number, $n = p_k^3$ and $p_k^3 < p_k*p_k+1$.



That would mean $p_k^2 < p_k+1$.



This is impossible by Bertrands postulate.



So indeed the next composite number not divisible by $p_1,..., p_k-1$ larger than $p_k^2$ is $p_kp_k+1$.






share|cite|improve this answer









$endgroup$












  • $begingroup$
    gotcha. its like a numerical logical tautology. wish I could mark both correct. no disrespect to eric who also had a good answer and got there first, but this one i understood a bit easier.
    $endgroup$
    – David
    Mar 25 at 21:35











  • $begingroup$
    Actually on reading eric's it seems we really more or less have the same answer.
    $endgroup$
    – fleablood
    Mar 25 at 21:52










  • $begingroup$
    yes, i just meant i personally found your phrasing a little easier to understand, not being a mathematician, but both are good answers
    $endgroup$
    – David
    Mar 25 at 22:05


















6












$begingroup$

Yes. First let me clarify what you are trying to say. Suppose we have a prime number $p$, and consider the smallest integer $n$ greater than $p^2$ which is a multiple of $p$ but which is not divisible by any prime less than $p$. The pattern you are observing is then that $n/p$ is the smallest prime number greater than $p$.



This is indeed true in general. To prove it, note that the multiples of $p$ are just numbers of the form $ap$ where $a$ is an integer. So in finding the smallest such multiple $n$ which is not divisible by any primes less than $p$, you are just finding the smallest integer $a>p$ which is not divisible by any prime less than $p$ and setting $n=ap$. Every prime factor of this $a$ is greater than or equal to $p$. Let us first suppose that $a$ has a prime factor $q$ which is greater than $p$. Then by minimality of $a$, we must have $a=q$ (otherwise $q$ would be a smaller candidate for $a$). Moreover, by minimality $a$ must be the smallest prime greater than $p$ (any smaller such prime would be a smaller candidate for $a$). So, $a=n/p$ is indeed the smallest prime greater than $p$.



The remaining case is that $a$ has no prime factors greater than $p$, which means $p$ is its only prime factor. That is, $a$ is a power of $p$. Then $ageq p^2$ (and in fact $a=p^2$ by minimality). As before, $a$ must be less than any prime greater than $p$ by minimality. This means there are no prime numbers $q$ such that $p<q<p^2$. However, this is impossible, for instance by Bertrand's postulate (or see There is a prime between $n$ and $n^2$, without Bertrand for a simpler direct proof).






share|cite|improve this answer











$endgroup$












  • $begingroup$
    Does your solution mean that we can predict the next prime $p_k+1$ if we know the prime $p_k$ and apply the op method?
    $endgroup$
    – user25406
    Mar 25 at 23:21










  • $begingroup$
    Well, you can find the next prime by the OP's method. I'm not sure how this is a "prediction", though.
    $endgroup$
    – Eric Wofsey
    Mar 26 at 1:15










  • $begingroup$
    You are right. I realized that we are looking for a number $M=p_k*p_k+1=p_k^2 +m*p_k=p_k*(p_k+m)$ with $m=2,4,6,8...$ and $p_k+1=p_k+m$. So we can't predict the next prime since we have to check different values of $m$. For twin primes, $m=2$ and we just don't know which particular value of $m$ is going to provide the next prime.
    $endgroup$
    – user25406
    Mar 26 at 12:17



















1












$begingroup$

Yes. It follows from each composite, needing a least prime factor. Since you've eliminated possibilities up to $p_k$, the least prime factor of $fracNp_k$ for N greater than the square, needs fall to the next non eliminated number (the next prime in this case). This can be generalized to arithmetic progressions in general that is closed under multiplication (aka form a magma along with multiplication), the next one not eliminated by previous members as a least in progression factor, is the product of the next two not used up.






share|cite|improve this answer











$endgroup$





















    3 Answers
    3






    active

    oldest

    votes








    3 Answers
    3






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    4












    $begingroup$

    Think of it this way. Let $p_k$ be the $k$ prime. Let $n$ be the first composite number greater than $p_k$ so that $n$ is not divisible by $p_1,..., p_k-1$.



    Claim: $n = p_kcdot p_k+1$.



    Pf:



    What else could it be? $n$ must have a prime factors. And those prime factor must be greater the $p_k+1$. The smallest number with at least two prime factors all bigger than $p_k-1$ must be $p_kcdot p_k+1$ because $p_k, p_k+1$ are the smallest choices for prime factors and the fewer prime factors the smaller the number will be.



    so $n= p_kp_k+1$ IF $n$ has at least two prime factors.



    So if $nne p_kp_k+1$ then 1) $n le p_kp_k+1$ and 2) $n$ has only one prime factor so $n=q^m$ for some prime $q$ and integer $m$.



    If so, then $q ge p_k+1$ then $q^m ge p_k+1^mge p_k+1^2 > p_k*p_k+1$ which is a contradiction so $q= p_k$ and $n = p_k^m > p_k^2$. As $n$ is the smallest possible number, $n = p_k^3$ and $p_k^3 < p_k*p_k+1$.



    That would mean $p_k^2 < p_k+1$.



    This is impossible by Bertrands postulate.



    So indeed the next composite number not divisible by $p_1,..., p_k-1$ larger than $p_k^2$ is $p_kp_k+1$.






    share|cite|improve this answer









    $endgroup$












    • $begingroup$
      gotcha. its like a numerical logical tautology. wish I could mark both correct. no disrespect to eric who also had a good answer and got there first, but this one i understood a bit easier.
      $endgroup$
      – David
      Mar 25 at 21:35











    • $begingroup$
      Actually on reading eric's it seems we really more or less have the same answer.
      $endgroup$
      – fleablood
      Mar 25 at 21:52










    • $begingroup$
      yes, i just meant i personally found your phrasing a little easier to understand, not being a mathematician, but both are good answers
      $endgroup$
      – David
      Mar 25 at 22:05















    4












    $begingroup$

    Think of it this way. Let $p_k$ be the $k$ prime. Let $n$ be the first composite number greater than $p_k$ so that $n$ is not divisible by $p_1,..., p_k-1$.



    Claim: $n = p_kcdot p_k+1$.



    Pf:



    What else could it be? $n$ must have a prime factors. And those prime factor must be greater the $p_k+1$. The smallest number with at least two prime factors all bigger than $p_k-1$ must be $p_kcdot p_k+1$ because $p_k, p_k+1$ are the smallest choices for prime factors and the fewer prime factors the smaller the number will be.



    so $n= p_kp_k+1$ IF $n$ has at least two prime factors.



    So if $nne p_kp_k+1$ then 1) $n le p_kp_k+1$ and 2) $n$ has only one prime factor so $n=q^m$ for some prime $q$ and integer $m$.



    If so, then $q ge p_k+1$ then $q^m ge p_k+1^mge p_k+1^2 > p_k*p_k+1$ which is a contradiction so $q= p_k$ and $n = p_k^m > p_k^2$. As $n$ is the smallest possible number, $n = p_k^3$ and $p_k^3 < p_k*p_k+1$.



    That would mean $p_k^2 < p_k+1$.



    This is impossible by Bertrands postulate.



    So indeed the next composite number not divisible by $p_1,..., p_k-1$ larger than $p_k^2$ is $p_kp_k+1$.






    share|cite|improve this answer









    $endgroup$












    • $begingroup$
      gotcha. its like a numerical logical tautology. wish I could mark both correct. no disrespect to eric who also had a good answer and got there first, but this one i understood a bit easier.
      $endgroup$
      – David
      Mar 25 at 21:35











    • $begingroup$
      Actually on reading eric's it seems we really more or less have the same answer.
      $endgroup$
      – fleablood
      Mar 25 at 21:52










    • $begingroup$
      yes, i just meant i personally found your phrasing a little easier to understand, not being a mathematician, but both are good answers
      $endgroup$
      – David
      Mar 25 at 22:05













    4












    4








    4





    $begingroup$

    Think of it this way. Let $p_k$ be the $k$ prime. Let $n$ be the first composite number greater than $p_k$ so that $n$ is not divisible by $p_1,..., p_k-1$.



    Claim: $n = p_kcdot p_k+1$.



    Pf:



    What else could it be? $n$ must have a prime factors. And those prime factor must be greater the $p_k+1$. The smallest number with at least two prime factors all bigger than $p_k-1$ must be $p_kcdot p_k+1$ because $p_k, p_k+1$ are the smallest choices for prime factors and the fewer prime factors the smaller the number will be.



    so $n= p_kp_k+1$ IF $n$ has at least two prime factors.



    So if $nne p_kp_k+1$ then 1) $n le p_kp_k+1$ and 2) $n$ has only one prime factor so $n=q^m$ for some prime $q$ and integer $m$.



    If so, then $q ge p_k+1$ then $q^m ge p_k+1^mge p_k+1^2 > p_k*p_k+1$ which is a contradiction so $q= p_k$ and $n = p_k^m > p_k^2$. As $n$ is the smallest possible number, $n = p_k^3$ and $p_k^3 < p_k*p_k+1$.



    That would mean $p_k^2 < p_k+1$.



    This is impossible by Bertrands postulate.



    So indeed the next composite number not divisible by $p_1,..., p_k-1$ larger than $p_k^2$ is $p_kp_k+1$.






    share|cite|improve this answer









    $endgroup$



    Think of it this way. Let $p_k$ be the $k$ prime. Let $n$ be the first composite number greater than $p_k$ so that $n$ is not divisible by $p_1,..., p_k-1$.



    Claim: $n = p_kcdot p_k+1$.



    Pf:



    What else could it be? $n$ must have a prime factors. And those prime factor must be greater the $p_k+1$. The smallest number with at least two prime factors all bigger than $p_k-1$ must be $p_kcdot p_k+1$ because $p_k, p_k+1$ are the smallest choices for prime factors and the fewer prime factors the smaller the number will be.



    so $n= p_kp_k+1$ IF $n$ has at least two prime factors.



    So if $nne p_kp_k+1$ then 1) $n le p_kp_k+1$ and 2) $n$ has only one prime factor so $n=q^m$ for some prime $q$ and integer $m$.



    If so, then $q ge p_k+1$ then $q^m ge p_k+1^mge p_k+1^2 > p_k*p_k+1$ which is a contradiction so $q= p_k$ and $n = p_k^m > p_k^2$. As $n$ is the smallest possible number, $n = p_k^3$ and $p_k^3 < p_k*p_k+1$.



    That would mean $p_k^2 < p_k+1$.



    This is impossible by Bertrands postulate.



    So indeed the next composite number not divisible by $p_1,..., p_k-1$ larger than $p_k^2$ is $p_kp_k+1$.







    share|cite|improve this answer












    share|cite|improve this answer



    share|cite|improve this answer










    answered Mar 25 at 21:24









    fleabloodfleablood

    75.2k2 gold badges28 silver badges94 bronze badges




    75.2k2 gold badges28 silver badges94 bronze badges











    • $begingroup$
      gotcha. its like a numerical logical tautology. wish I could mark both correct. no disrespect to eric who also had a good answer and got there first, but this one i understood a bit easier.
      $endgroup$
      – David
      Mar 25 at 21:35











    • $begingroup$
      Actually on reading eric's it seems we really more or less have the same answer.
      $endgroup$
      – fleablood
      Mar 25 at 21:52










    • $begingroup$
      yes, i just meant i personally found your phrasing a little easier to understand, not being a mathematician, but both are good answers
      $endgroup$
      – David
      Mar 25 at 22:05
















    • $begingroup$
      gotcha. its like a numerical logical tautology. wish I could mark both correct. no disrespect to eric who also had a good answer and got there first, but this one i understood a bit easier.
      $endgroup$
      – David
      Mar 25 at 21:35











    • $begingroup$
      Actually on reading eric's it seems we really more or less have the same answer.
      $endgroup$
      – fleablood
      Mar 25 at 21:52










    • $begingroup$
      yes, i just meant i personally found your phrasing a little easier to understand, not being a mathematician, but both are good answers
      $endgroup$
      – David
      Mar 25 at 22:05















    $begingroup$
    gotcha. its like a numerical logical tautology. wish I could mark both correct. no disrespect to eric who also had a good answer and got there first, but this one i understood a bit easier.
    $endgroup$
    – David
    Mar 25 at 21:35





    $begingroup$
    gotcha. its like a numerical logical tautology. wish I could mark both correct. no disrespect to eric who also had a good answer and got there first, but this one i understood a bit easier.
    $endgroup$
    – David
    Mar 25 at 21:35













    $begingroup$
    Actually on reading eric's it seems we really more or less have the same answer.
    $endgroup$
    – fleablood
    Mar 25 at 21:52




    $begingroup$
    Actually on reading eric's it seems we really more or less have the same answer.
    $endgroup$
    – fleablood
    Mar 25 at 21:52












    $begingroup$
    yes, i just meant i personally found your phrasing a little easier to understand, not being a mathematician, but both are good answers
    $endgroup$
    – David
    Mar 25 at 22:05




    $begingroup$
    yes, i just meant i personally found your phrasing a little easier to understand, not being a mathematician, but both are good answers
    $endgroup$
    – David
    Mar 25 at 22:05













    6












    $begingroup$

    Yes. First let me clarify what you are trying to say. Suppose we have a prime number $p$, and consider the smallest integer $n$ greater than $p^2$ which is a multiple of $p$ but which is not divisible by any prime less than $p$. The pattern you are observing is then that $n/p$ is the smallest prime number greater than $p$.



    This is indeed true in general. To prove it, note that the multiples of $p$ are just numbers of the form $ap$ where $a$ is an integer. So in finding the smallest such multiple $n$ which is not divisible by any primes less than $p$, you are just finding the smallest integer $a>p$ which is not divisible by any prime less than $p$ and setting $n=ap$. Every prime factor of this $a$ is greater than or equal to $p$. Let us first suppose that $a$ has a prime factor $q$ which is greater than $p$. Then by minimality of $a$, we must have $a=q$ (otherwise $q$ would be a smaller candidate for $a$). Moreover, by minimality $a$ must be the smallest prime greater than $p$ (any smaller such prime would be a smaller candidate for $a$). So, $a=n/p$ is indeed the smallest prime greater than $p$.



    The remaining case is that $a$ has no prime factors greater than $p$, which means $p$ is its only prime factor. That is, $a$ is a power of $p$. Then $ageq p^2$ (and in fact $a=p^2$ by minimality). As before, $a$ must be less than any prime greater than $p$ by minimality. This means there are no prime numbers $q$ such that $p<q<p^2$. However, this is impossible, for instance by Bertrand's postulate (or see There is a prime between $n$ and $n^2$, without Bertrand for a simpler direct proof).






    share|cite|improve this answer











    $endgroup$












    • $begingroup$
      Does your solution mean that we can predict the next prime $p_k+1$ if we know the prime $p_k$ and apply the op method?
      $endgroup$
      – user25406
      Mar 25 at 23:21










    • $begingroup$
      Well, you can find the next prime by the OP's method. I'm not sure how this is a "prediction", though.
      $endgroup$
      – Eric Wofsey
      Mar 26 at 1:15










    • $begingroup$
      You are right. I realized that we are looking for a number $M=p_k*p_k+1=p_k^2 +m*p_k=p_k*(p_k+m)$ with $m=2,4,6,8...$ and $p_k+1=p_k+m$. So we can't predict the next prime since we have to check different values of $m$. For twin primes, $m=2$ and we just don't know which particular value of $m$ is going to provide the next prime.
      $endgroup$
      – user25406
      Mar 26 at 12:17
















    6












    $begingroup$

    Yes. First let me clarify what you are trying to say. Suppose we have a prime number $p$, and consider the smallest integer $n$ greater than $p^2$ which is a multiple of $p$ but which is not divisible by any prime less than $p$. The pattern you are observing is then that $n/p$ is the smallest prime number greater than $p$.



    This is indeed true in general. To prove it, note that the multiples of $p$ are just numbers of the form $ap$ where $a$ is an integer. So in finding the smallest such multiple $n$ which is not divisible by any primes less than $p$, you are just finding the smallest integer $a>p$ which is not divisible by any prime less than $p$ and setting $n=ap$. Every prime factor of this $a$ is greater than or equal to $p$. Let us first suppose that $a$ has a prime factor $q$ which is greater than $p$. Then by minimality of $a$, we must have $a=q$ (otherwise $q$ would be a smaller candidate for $a$). Moreover, by minimality $a$ must be the smallest prime greater than $p$ (any smaller such prime would be a smaller candidate for $a$). So, $a=n/p$ is indeed the smallest prime greater than $p$.



    The remaining case is that $a$ has no prime factors greater than $p$, which means $p$ is its only prime factor. That is, $a$ is a power of $p$. Then $ageq p^2$ (and in fact $a=p^2$ by minimality). As before, $a$ must be less than any prime greater than $p$ by minimality. This means there are no prime numbers $q$ such that $p<q<p^2$. However, this is impossible, for instance by Bertrand's postulate (or see There is a prime between $n$ and $n^2$, without Bertrand for a simpler direct proof).






    share|cite|improve this answer











    $endgroup$












    • $begingroup$
      Does your solution mean that we can predict the next prime $p_k+1$ if we know the prime $p_k$ and apply the op method?
      $endgroup$
      – user25406
      Mar 25 at 23:21










    • $begingroup$
      Well, you can find the next prime by the OP's method. I'm not sure how this is a "prediction", though.
      $endgroup$
      – Eric Wofsey
      Mar 26 at 1:15










    • $begingroup$
      You are right. I realized that we are looking for a number $M=p_k*p_k+1=p_k^2 +m*p_k=p_k*(p_k+m)$ with $m=2,4,6,8...$ and $p_k+1=p_k+m$. So we can't predict the next prime since we have to check different values of $m$. For twin primes, $m=2$ and we just don't know which particular value of $m$ is going to provide the next prime.
      $endgroup$
      – user25406
      Mar 26 at 12:17














    6












    6








    6





    $begingroup$

    Yes. First let me clarify what you are trying to say. Suppose we have a prime number $p$, and consider the smallest integer $n$ greater than $p^2$ which is a multiple of $p$ but which is not divisible by any prime less than $p$. The pattern you are observing is then that $n/p$ is the smallest prime number greater than $p$.



    This is indeed true in general. To prove it, note that the multiples of $p$ are just numbers of the form $ap$ where $a$ is an integer. So in finding the smallest such multiple $n$ which is not divisible by any primes less than $p$, you are just finding the smallest integer $a>p$ which is not divisible by any prime less than $p$ and setting $n=ap$. Every prime factor of this $a$ is greater than or equal to $p$. Let us first suppose that $a$ has a prime factor $q$ which is greater than $p$. Then by minimality of $a$, we must have $a=q$ (otherwise $q$ would be a smaller candidate for $a$). Moreover, by minimality $a$ must be the smallest prime greater than $p$ (any smaller such prime would be a smaller candidate for $a$). So, $a=n/p$ is indeed the smallest prime greater than $p$.



    The remaining case is that $a$ has no prime factors greater than $p$, which means $p$ is its only prime factor. That is, $a$ is a power of $p$. Then $ageq p^2$ (and in fact $a=p^2$ by minimality). As before, $a$ must be less than any prime greater than $p$ by minimality. This means there are no prime numbers $q$ such that $p<q<p^2$. However, this is impossible, for instance by Bertrand's postulate (or see There is a prime between $n$ and $n^2$, without Bertrand for a simpler direct proof).






    share|cite|improve this answer











    $endgroup$



    Yes. First let me clarify what you are trying to say. Suppose we have a prime number $p$, and consider the smallest integer $n$ greater than $p^2$ which is a multiple of $p$ but which is not divisible by any prime less than $p$. The pattern you are observing is then that $n/p$ is the smallest prime number greater than $p$.



    This is indeed true in general. To prove it, note that the multiples of $p$ are just numbers of the form $ap$ where $a$ is an integer. So in finding the smallest such multiple $n$ which is not divisible by any primes less than $p$, you are just finding the smallest integer $a>p$ which is not divisible by any prime less than $p$ and setting $n=ap$. Every prime factor of this $a$ is greater than or equal to $p$. Let us first suppose that $a$ has a prime factor $q$ which is greater than $p$. Then by minimality of $a$, we must have $a=q$ (otherwise $q$ would be a smaller candidate for $a$). Moreover, by minimality $a$ must be the smallest prime greater than $p$ (any smaller such prime would be a smaller candidate for $a$). So, $a=n/p$ is indeed the smallest prime greater than $p$.



    The remaining case is that $a$ has no prime factors greater than $p$, which means $p$ is its only prime factor. That is, $a$ is a power of $p$. Then $ageq p^2$ (and in fact $a=p^2$ by minimality). As before, $a$ must be less than any prime greater than $p$ by minimality. This means there are no prime numbers $q$ such that $p<q<p^2$. However, this is impossible, for instance by Bertrand's postulate (or see There is a prime between $n$ and $n^2$, without Bertrand for a simpler direct proof).







    share|cite|improve this answer














    share|cite|improve this answer



    share|cite|improve this answer








    edited Mar 25 at 20:51

























    answered Mar 25 at 20:29









    Eric WofseyEric Wofsey

    202k14 gold badges235 silver badges367 bronze badges




    202k14 gold badges235 silver badges367 bronze badges











    • $begingroup$
      Does your solution mean that we can predict the next prime $p_k+1$ if we know the prime $p_k$ and apply the op method?
      $endgroup$
      – user25406
      Mar 25 at 23:21










    • $begingroup$
      Well, you can find the next prime by the OP's method. I'm not sure how this is a "prediction", though.
      $endgroup$
      – Eric Wofsey
      Mar 26 at 1:15










    • $begingroup$
      You are right. I realized that we are looking for a number $M=p_k*p_k+1=p_k^2 +m*p_k=p_k*(p_k+m)$ with $m=2,4,6,8...$ and $p_k+1=p_k+m$. So we can't predict the next prime since we have to check different values of $m$. For twin primes, $m=2$ and we just don't know which particular value of $m$ is going to provide the next prime.
      $endgroup$
      – user25406
      Mar 26 at 12:17

















    • $begingroup$
      Does your solution mean that we can predict the next prime $p_k+1$ if we know the prime $p_k$ and apply the op method?
      $endgroup$
      – user25406
      Mar 25 at 23:21










    • $begingroup$
      Well, you can find the next prime by the OP's method. I'm not sure how this is a "prediction", though.
      $endgroup$
      – Eric Wofsey
      Mar 26 at 1:15










    • $begingroup$
      You are right. I realized that we are looking for a number $M=p_k*p_k+1=p_k^2 +m*p_k=p_k*(p_k+m)$ with $m=2,4,6,8...$ and $p_k+1=p_k+m$. So we can't predict the next prime since we have to check different values of $m$. For twin primes, $m=2$ and we just don't know which particular value of $m$ is going to provide the next prime.
      $endgroup$
      – user25406
      Mar 26 at 12:17
















    $begingroup$
    Does your solution mean that we can predict the next prime $p_k+1$ if we know the prime $p_k$ and apply the op method?
    $endgroup$
    – user25406
    Mar 25 at 23:21




    $begingroup$
    Does your solution mean that we can predict the next prime $p_k+1$ if we know the prime $p_k$ and apply the op method?
    $endgroup$
    – user25406
    Mar 25 at 23:21












    $begingroup$
    Well, you can find the next prime by the OP's method. I'm not sure how this is a "prediction", though.
    $endgroup$
    – Eric Wofsey
    Mar 26 at 1:15




    $begingroup$
    Well, you can find the next prime by the OP's method. I'm not sure how this is a "prediction", though.
    $endgroup$
    – Eric Wofsey
    Mar 26 at 1:15












    $begingroup$
    You are right. I realized that we are looking for a number $M=p_k*p_k+1=p_k^2 +m*p_k=p_k*(p_k+m)$ with $m=2,4,6,8...$ and $p_k+1=p_k+m$. So we can't predict the next prime since we have to check different values of $m$. For twin primes, $m=2$ and we just don't know which particular value of $m$ is going to provide the next prime.
    $endgroup$
    – user25406
    Mar 26 at 12:17





    $begingroup$
    You are right. I realized that we are looking for a number $M=p_k*p_k+1=p_k^2 +m*p_k=p_k*(p_k+m)$ with $m=2,4,6,8...$ and $p_k+1=p_k+m$. So we can't predict the next prime since we have to check different values of $m$. For twin primes, $m=2$ and we just don't know which particular value of $m$ is going to provide the next prime.
    $endgroup$
    – user25406
    Mar 26 at 12:17












    1












    $begingroup$

    Yes. It follows from each composite, needing a least prime factor. Since you've eliminated possibilities up to $p_k$, the least prime factor of $fracNp_k$ for N greater than the square, needs fall to the next non eliminated number (the next prime in this case). This can be generalized to arithmetic progressions in general that is closed under multiplication (aka form a magma along with multiplication), the next one not eliminated by previous members as a least in progression factor, is the product of the next two not used up.






    share|cite|improve this answer











    $endgroup$

















      1












      $begingroup$

      Yes. It follows from each composite, needing a least prime factor. Since you've eliminated possibilities up to $p_k$, the least prime factor of $fracNp_k$ for N greater than the square, needs fall to the next non eliminated number (the next prime in this case). This can be generalized to arithmetic progressions in general that is closed under multiplication (aka form a magma along with multiplication), the next one not eliminated by previous members as a least in progression factor, is the product of the next two not used up.






      share|cite|improve this answer











      $endgroup$















        1












        1








        1





        $begingroup$

        Yes. It follows from each composite, needing a least prime factor. Since you've eliminated possibilities up to $p_k$, the least prime factor of $fracNp_k$ for N greater than the square, needs fall to the next non eliminated number (the next prime in this case). This can be generalized to arithmetic progressions in general that is closed under multiplication (aka form a magma along with multiplication), the next one not eliminated by previous members as a least in progression factor, is the product of the next two not used up.






        share|cite|improve this answer











        $endgroup$



        Yes. It follows from each composite, needing a least prime factor. Since you've eliminated possibilities up to $p_k$, the least prime factor of $fracNp_k$ for N greater than the square, needs fall to the next non eliminated number (the next prime in this case). This can be generalized to arithmetic progressions in general that is closed under multiplication (aka form a magma along with multiplication), the next one not eliminated by previous members as a least in progression factor, is the product of the next two not used up.







        share|cite|improve this answer














        share|cite|improve this answer



        share|cite|improve this answer








        edited Mar 28 at 1:00

























        answered Mar 26 at 1:33









        Roddy MacPheeRoddy MacPhee

        1,8402 gold badges2 silver badges25 bronze badges




        1,8402 gold badges2 silver badges25 bronze badges













            Popular posts from this blog

            SQL error code 1064 with creating Laravel foreign keysForeign key constraints: When to use ON UPDATE and ON DELETEDropping column with foreign key Laravel error: General error: 1025 Error on renameLaravel SQL Can't create tableLaravel Migration foreign key errorLaravel php artisan migrate:refresh giving a syntax errorSQLSTATE[42S01]: Base table or view already exists or Base table or view already exists: 1050 Tableerror in migrating laravel file to xampp serverSyntax error or access violation: 1064:syntax to use near 'unsigned not null, modelName varchar(191) not null, title varchar(191) not nLaravel cannot create new table field in mysqlLaravel 5.7:Last migration creates table but is not registered in the migration table

            용인 삼성생명 블루밍스 목차 통계 역대 감독 선수단 응원단 경기장 같이 보기 외부 링크 둘러보기 메뉴samsungblueminx.comeh선수 명단용인 삼성생명 블루밍스용인 삼성생명 블루밍스ehsamsungblueminx.comeheheheh

            155 수학 과학 기타 둘러보기 메뉴eh추가해eh문서를 완성해