![]() |
|
|
#1 |
|
Jun 2003
2×7×113 Posts |
Just a question. I am interested in looking for primes such that the following is true. Does any one know anything about their distribution.
Let such a prime be p. Then take the first p prime P(1), P(2).... P(p). Let set A= {P(1),....P(p)} (mod p) Let set B= all numbers from 0 to p-1. Then are there any primes for which the elements of set A and B are identical? 2 is the only such prime I know of . Since P(1)=2 P(2)=3 Then A={0,1) B={0,1} Hence both the sets have the same elements. Are there any more? Some thoughts that I have: The probability of finding k*p+n for fixed p is the same irrespective of n. Hence there should be more of these primes but I have not found any such examples upto 30 Million. Citrix |
|
|
|
|
|
#2 |
|
Jan 2005
2·31 Posts |
Just thinking statistically, this is hopeless. You want the first p primes to fall into unique residue classes mod p. The probability of this occurring is something like (1/p)^p, which gets very small very quickly as p increases.
|
|
|
|
|
|
#3 | |
|
Jun 2003
62E16 Posts |
Quote:
Some other ways to look at the problem. Find p such that, where # is primorial ((P(p)#/p)+1)=0 (mod p) Another way to look at the problem: Sum of first P(p) =0 (mod p) Though the other 2 methods of looking at this problem will produce false positives, but only these numbers can be tested then. Citrix edit: I would say the probability to be 1 in p for the above 2 conditions. Last fiddled with by Citrix on 2005-11-10 at 05:39 |
|
|
|
|
|
|
#4 |
|
"Nancy"
Aug 2002
Alexandria
46438 Posts |
If p≥3, 4∈B but obviously ∉ A as it is not prime. But this is kinda trivial... maybe I didn't understand your question.
Alex |
|
|
|
|
|
#5 |
|
Jun 2003
2·7·113 Posts |
Alex, what do the boxes mean?
The probability if primes were completely random would be p!/(p^p). This is also huge. But primes are not completely random and that should make a difference. If primes were half the time random and 1/2 the times not then the probability would reduce down to the square root of p!/(p^p). Citrix |
|
|
|
|
|
#6 | |
|
"Richard B. Woods"
Aug 2002
Wisconsin USA
22·3·641 Posts |
Quote:
I think what Citrix means is that for p = 3: A = {2, 3, 5} (mod 3) = (2,0,2) B = (0,1,2) for p = 5: A = {2, 3, 5, 7, 11} (mod 5) = (2,3,0,2,1) B = (0,1,2,3,4) for p = 7: A = {2, 3, 5, 7, 11, 13, 17} (mod 7) = (2,3,5,0,4,6,3) B = (0,1,2,3,4,5,6) So for p = 7, 4 ∈ A |
|
|
|
|
|
|
#7 | |
|
Jan 2005
2×31 Posts |
Quote:
sqrt(2*pi*p)*exp(-p). But even considering only those primes exceeding p as "random", you end up approaching this formula as p gets large. |
|
|
|
|
|
|
#8 | |
|
Jun 2003
2·3·7·112 Posts |
Quote:
Or alternately P(p)#/p |
|
|
|
|
|
|
#9 |
|
"Nancy"
Aug 2002
Alexandria
2,467 Posts |
Oops, I overlooked the (mod p) - sorry.
Alex |
|
|
|
|
|
#10 |
|
"Richard B. Woods"
Aug 2002
Wisconsin USA
769210 Posts |
for p = 3:
A = {2, 3, 5} (mod 3) = {2,0,2} -- 2 is duplicated; 1 is missing B = {0,1,2} for p = 5: A = {2, 3, 5, 7, 11} (mod 5) = {2,3,0,2,1} -- 2 is duplicated; 4 is missing B = {0,1,2,3,4} for p = 7: A = {2, 3, 5, 7, 11, 13, 17} (mod 7) = {2,3,5,0,4,6,3} -- 3 is duplicated; 1 is missing B = {0,1,2,3,4,5,6} for p = 11: A = {2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31} (mod 11) = {2,3,5,7,0,2,6,8,1,7,9} -- 2 and 7 are duplicated; 4 and 10 are missing B = {0,1,2,3,4,5,6,7,8,9,10} for p = 13: A = {2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41} (mod 13) = {2,3,5,7,11,0,4,6,10,3,5,11,2} -- 2, 3, 5, 11 are duplicated; 1, 8, 9, 12 are missing B = {0,1,2,3,4,5,6,7,8,9,10,11,12} for p = 17: A = {2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59} (mod 17) = {2,3,5,7,11,13,0,2,6,12,14,3,7,9,13,2,8} -- 2 is triplicated; 3, 7, 13 are duplicated; 1, 4, 10, 15, 16 are missing B = {0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16} Is there anything profound in the pattern of congruence classes missing from or duplicated in A? (... other than that, so far, the only missing elements are 1 or composites, and the only duplicates are primes -- are those just law-of-small-number coincidences?) Last fiddled with by cheesehead on 2005-11-10 at 12:02 |
|
|
|
|
|
#11 | |
|
Jun 2003
2×7×113 Posts |
Quote:
the formula comes from wilson's theorem |
|
|
|
|
![]() |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Mersenne Primes p which are in a set of twin primes is finite? | carpetpool | Miscellaneous Math | 3 | 2017-08-10 13:47 |
| Distribution of Mersenne primes before and after couples of primes found | emily | Math | 34 | 2017-07-16 18:44 |
| Conjecture about Mersenne primes and non-primes v2 | Mickey1 | Miscellaneous Math | 1 | 2013-05-30 12:32 |
| A conjecture about Mersenne primes and non-primes | Unregistered | Information & Answers | 0 | 2011-01-31 15:41 |
| possible primes (real primes & poss.prime products) | troels munkner | Miscellaneous Math | 4 | 2006-06-02 08:35 |