![]() |
|
|
#12 | |
|
Aug 2002
Portland, OR USA
2×137 Posts |
Wow!
I am very surprised this is the first time I've ever heard about this curious pattern. Cheesehead has covered most of the explanation, so I will pick up where he left off. Quote:
(Since I have hands, and even an extra prime hand over there <--- ;) ) For those interested in references, I did a google on "digit patterns repeating decimal", and one of the many links was http://www.mersenneforum.org/attachments/pdfs/422.pdf Which contains a specific example of this general statement.[code:1]If 1/b has a decimal pattern of length k, then b must divide 10^k - 1 = 99999. If, in addition, b is a prime number, then k must divide b - 1.[/code:1] Now, if 1/b has a decimal pattern of length 2k, then b must divide 10^2k - 1 = (10^k - 1)(10^k + 1). When b = 7, 1/7 = 0.142857... a pattern of length 6 ==> 7 divides 10^6 - 1 = (10^3 - 1)(10^3 + 1) = (999)(1001) 1000/7 = 142.857 142 857 142 857 142 + 1/7 = 000.142 857 142 857 142 857 ------------------------------------- 1001/7 = 142.999 999 999 999 999 999 143 = 143 And this will hold for any 1/b with a repeating decimal pattern of even length 2k, indicating b | 10^k+1 rather than 10^k-1. (If b | 10^k-1, then the pattern would be length k.) That is what your pattern indicates -- not that b is prime, but that b divides 10^k+1. For example, 1/7 = 0.142 857... --> 7 | 1001 1/13 = 0.076 923.. --> 13 | 1001 1/91 = 0.010 989.. --> 91 | 1001 91 = 7*13 is not prime. And in the case of 49, 1/7 = 0.142 857... --> 7 | 1001 1/49 = 0.020408163265306122448 979591836734693877551... --> 49 | 10^21+1. So 7 is a factor of 1001, but 49 = 7*7 is not. Maybeso |
|
|
|
|
|
|
#13 |
|
Jun 2003
25 Posts |
Thank you, Maybeso,
I guess this means I will have to find another way to become famous :) Out of luck today..... Let's get back to my Mersenne Prime testing. It says, my completion date will be June 5 23:21 2005. Is this a bug or is it going to take 2 years? This is my second testing, so I don't know. |
|
|
|
|
|
#14 | |
|
Dec 2002
Frederick County, MD
2·5·37 Posts |
Quote:
|
|
|
|
|
|
|
#15 |
|
Jun 2003
25 Posts |
You are right!
I am testing a 33,000,000 on a Pentium II :) The first number I tested took about a month and then it said it is a composite. This one took one month so far, 2 days ago it said "no factors". I thought it was done and the number is a prime. But I've never been lucky in anything, so I wasn't too concerned about it. I knew there was a catch :D I was right. It is going to take another 2 years...... :( |
|
|
|
|
|
#16 | |
|
Dec 2002
Frederick County, MD
1011100102 Posts |
Quote:
|
|
|
|
|
|
|
#17 |
|
Jun 2003
408 Posts |
What makes you think I am patient? :)
Is there a way of speeding it up? I updated yesterday to the latest version. That means it will take 25% less time....... I might have it by next summer...... |
|
|
|
|
|
#18 |
|
Aug 2002
A Dyson Sphere
6310 Posts |
The only way you can really speed it up is to use a faster computer or get a smaller number. It will take a very long time to test a 33M number on a Pentium II no matter what you do.
I hope your number is prime :D |
|
|
|
|
|
#19 |
|
Sep 2002
26210 Posts |
If you want it to go really fast then you might want to join the Lone Mersenne Hunter`s. That way you`ll find a hole bunch of factors in no time. You won`t find prime numbers that way but you`ll play a major part of the search.
Joss |
|
|
|
|
|
#20 | |||||
|
"Richard B. Woods"
Aug 2002
Wisconsin USA
11110000011002 Posts |
Quote:
Quote:
Quote:
But it's always possible to find a number large enough to make arithmetic as big a task as you want. Quote:
Quote:
[code:1]ps. sorry, I coudn't figure out how to use the "quote" function.[/quote][/code:1] Next time you're about to post something, when you're at the form for entering your post, look at the lower left for "BBCode is ON". Click on "BBCode", and you'll get a help page about all the text formatting commands. |
|||||
|
|
|
|
|
#21 | |
|
"Richard B. Woods"
Aug 2002
Wisconsin USA
170148 Posts |
Quote:
In general, if 1/b has a decimal pattern of length jk, then b divides 10^jk - 1 = (10^k - 1)(10^(j-1)k + 10^(j-2)k + ... + 10^k + 1). |
|
|
|
|
|
|
#22 | |
|
Jun 2003
2016 Posts |
[quote]
Quote:
I haven't chosen this number. The program started it automatically. What if I increase the memory available for the program? I have 256 MB and there is lots of room....... Eva |
|
|
|
|
![]() |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Windows 10 in Ubuntu, good idea, bad idea, or...? | jasong | jasong | 8 | 2017-04-07 00:23 |
| Idea (as always) | Dubslow | Forum Feedback | 7 | 2016-12-02 14:26 |
| idea ? | science_man_88 | Homework Help | 0 | 2010-04-23 16:33 |
| An Idea | ThomRuley | Lone Mersenne Hunters | 5 | 2003-07-15 05:51 |
| Just a little idea... | Xyzzy | PrimeNet | 5 | 2003-06-30 03:19 |