![]() |
|
|
#12 | |
|
Nov 2003
22×5×373 Posts |
Quote:
|
|
|
|
|
|
|
#13 | |
|
"Forget I exist"
Jul 2009
Dumbassville
26·131 Posts |
Quote:
1)2 isn't a mersenne number so: 2) it can't be a mersenne prime. |
|
|
|
|
|
|
#14 | |
|
"Forget I exist"
Jul 2009
Dumbassville
26·131 Posts |
Quote:
Code:
(11:36)>P=5%6;for(k=1,10,if((2*k*P+1)%6==1 || (2*k*P+1)%6==5,print(k%3))) 1 0 1 0 1 0 1 (11:36)>P=1%6;for(k=1,10,if((2*k*P+1)%6==1 || (2*k*P+1)%6==5,print(k%3))) 2 0 2 0 2 0 |
|
|
|
|
|
|
#15 | |
|
Sep 2009
2·1,039 Posts |
Quote:
Am I right? Chris K |
|
|
|
|
|
|
#16 |
|
Nov 2003
164448 Posts |
|
|
|
|
|
|
#17 |
|
Dec 2010
Monticello
5·359 Posts |
|
|
|
|
|
|
#18 | |
|
"Gang aft agley"
Sep 2002
2×1,877 Posts |
Quote:
I haven't thought out the consequences of factors of b-1 I am thinking about what k can equal. When a and c are prime, if k can be one of them while p is the other and this is true for both (ba-1)/(b-1) and (bc-1)/(b-1), then they could have a common factor. My opinion is likely wrong due to a combination of enthusiasm and ignorance and is best to let it linger a while until someone smarter feels like pointing out a fallacy or two in it or lets it lie in politely ignored ignominy. Last fiddled with by only_human on 2011-09-07 at 12:50 Reason: added nattering about composite b-1 |
|
|
|
|
|
|
#19 | |
|
Jun 2003
5,051 Posts |
Quote:
|
|
|
|
|
|
|
#20 |
|
Nov 2003
164448 Posts |
|
|
|
|
|
|
#21 |
|
Jun 2003
5,051 Posts |
I thought we were discussing generalizing to arbitrary base -- i.e. for a _given_ base, and varying exponents, we look for common factors. You've given fixed exponent and varying bases, which is not the same. What am I missing?
|
|
|
|
|
|
#22 |
|
Romulan Interpreter
Jun 2011
Thailand
7·1,373 Posts |
I don't think you are missing something. We were talking about repunits in a given base. They are of the form (2n-1)/1 (decimal) if the base is 2, or (7n-1)/6 (decimal) = 666....6666/67 = 1111..11117 if the base is 7, and so on.
The question was if two repunits in a base b (fixed) can have a common factor, beside of the obvious case when the numbers of 1's in each repunit have a common factor themselves. If the number of 1's is not prime, but some m*n, for sure we can factor it by grouping the digits in groups of m or n. For example 111111 in base 7 (=117648/6=19608 decimal) can be grouped like "11 11 11", or it can be grouped like "111 111" and therefore is divisible by 8 (7+1, not prime) and by 57 (72+7+1, not prime). Because we can "subtract" a group of m (or n digits), shift left by m (or n) until we prove that the repunit is divisible by a group of m (or n) digits. Possible by some other factors too (in this case 43, prime). So, for such a repunit to be prime, a necessary condition is that the number of one's in it to be prime (this is not sufficient, in fact, we don't know any sufficient condition, in reasonable terms, otherwise we could find primes very fast!). The question is if two repunits in the SAME, FIXED base, can have common factors. If the numbers of their digits share a common factor (that is, the exponents share a common factor) k, then you can split each repunit in groups of k units, and both of them would be divisible by (bk-1)/(b-1). Like (512-1)/4 = 111 111 111 111(5)= 61035156 = 22*32*7*13*31*601 and (515-1)/4 = 111 111 111 111 111(5) = 7629394531 =11*31*71*181*1741 both share the factor 53-1 = 31, because 12 and 15 share the factor 3, so we could split them in groups of 3 units each. What happens when the numbers of 1's in them have no common factor? The answer should not be so difficult.
Last fiddled with by LaurV on 2011-09-08 at 04:45 |
|
|
|
![]() |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Can Mersenne composites share "shape"? | jnml | Miscellaneous Math | 31 | 2018-01-01 01:55 |
| Small inconsistencies between mersenne.org and mersenne.ca factor databases | GP2 | mersenne.ca | 44 | 2016-06-19 19:29 |
| 6 digit numbers and the mersenne numbers | henryzz | Math | 2 | 2008-04-29 02:05 |
| LLT numbers, linkd with Mersenne and Fermat numbers | T.Rex | Math | 4 | 2005-05-07 08:25 |
| P-1 factoring != "Mersenne numbers to factor"? | James Heinrich | Marin's Mersenne-aries | 8 | 2004-05-17 11:09 |