![]() |
|
|
#1 |
|
6809 > 6502
"""""""""""""""""""
Aug 2003
101×103 Posts
978410 Posts |
I know what primes are, I know what bases are, but how does the base make a difference if a number is prime?
|
|
|
|
|
|
#2 | |
|
"William"
May 2003
New Haven
2·7·132 Posts |
Quote:
|
|
|
|
|
|
|
#3 |
|
6809 > 6502
"""""""""""""""""""
Aug 2003
101×103 Posts
263816 Posts |
So it doesn't mean a base like: 1310 or 1211 or 1112 or 1013
|
|
|
|
|
|
#4 |
|
Aug 2002
Portland, OR USA
2·137 Posts |
In this context, I think that it does mean a base like 1101001113
The phrase "Prime in all bases" refers to a search for numbers which remain prime when you change the base from the smallest legal up to some n, without actually converting it. A number consisting of 0's & 1's would start in base 2. There are examples on the web, in the primenumbers list at yahoo. 1000010001011111111011012 = 8675309, prime 1000010001011111111011013 = ? 1000010001011111111011014 = ? 1000010001011111111011015 = ? 1000010001011111111011016 = ? (I would give an actual example, but this message window will time out ... )
|
|
|
|
|
|
#5 |
|
Oct 2006
7 Posts |
Another twist on "Prime in all bases". As "everyone" knows each number base has its own set of digits. For multi-digit numbers in that base these digits can be divided into two groups- one group which are never prime if a number ends one of those digits, and a group multi-digit primes are "permitted" to end in.
A prime number is "Prime in all bases" in the sense no matter which base you express a multi-digit prime number in, it will always end in a premissable digit for multi-digit primes in that paticular base. On the other hand, no matter how many different bases a number ends in a premissible digit for multi-digit primes, if these is a base where that number ends in a non-permitted digit, it is not prime. |
|
|
|
|
|
#6 | |
|
Aug 2002
Buenos Aires, Argentina
2·683 Posts |
Quote:
Let's suppose that there are k ones in that string. Using base k+1 we get the following value: Since This means that the number is multiple of Last fiddled with by alpertron on 2006-11-22 at 15:23 |
|
|
|
|
|
|
#7 |
|
Einyen
Dec 2003
Denmark
35·13 Posts |
These numbers are all prime in base 2 to 10:
110100000010101111110001010011001110001 111000001000000100011110000000111000111101 111100000011101111101001101111000110000101 10001110100101110001001001001101011011111001 10010001000100111001000100100010111000000111 110001001101010000000010110010011110010110001 110100001001000010000010010001101000000100001 110101101100000010010001111000111001111110001 110101111101110111100111111010000110011011111 111000100111010100011000010001101001100100001 1001001011000000011111000001111100001001001001 Example: 10010010110000000111110000011111000010010010012=40338853446217 (prime) 10010010110000000111110000011111000010010010013=3068384663551105704493 (prime) 10010010110000000111110000011111000010010010014=1257608695782515405809258561 (prime) 10010010110000000111110000011111000010010010015=28650989406788706784246828140751 (prime) 10010010110000000111110000011111000010010010016=104429167454184682110486807513218329 (prime) 10010010110000000111110000011111000010010010017=107319808663410009085057221813360961657 (prime) 10010010110000000111110000011111000010010010018=43641382631776836084899974327476091617793 (prime) 10010010110000000111110000011111000010010010019=8739952731757538744486007088622324643616171 (prime) 100100101100000001111100000111110000100100100110 (prime) |
|
|
|
|
|
#8 | |
|
Bronze Medalist
Jan 2004
Mumbai,India
40048 Posts |
Quote:
Alpertron: Please pardon my ignorance but I can follow your reasoning until the last line. Please explain even if it is elementary. BTW: Is there a method of factorising and finding primes by coupling the Binomial theorem with Fermat's little theorem which is being used today? I have an article that explains the method with examples. Mally
|
|
|
|
|
|
|
#9 | |
|
Aug 2002
Buenos Aires, Argentina
2×683 Posts |
Quote:
100100101100000001111100000111110000100100100120 = 35188770686542026899458825635495936275940966400512064008001 is multiple of 19. This can be done without base conversion by noticing that the string has 19 ones and applying the reasoning I showed in my previous post. |
|
|
|
|
|
|
#10 |
|
Einyen
Dec 2003
Denmark
61278 Posts |
I understand your reasoning, no number can be prime in ALL bases. I was just showing some examples in response to Maybeso's post.
That particular number fails allready at base 11: 100100101100000001111100000111110000100100100111=72945288900070500848531287367874506645605685989 = 6703*10882483798309786789278127311334403497777963 Last fiddled with by ATH on 2006-11-22 at 17:28 |
|
|
|
|
|
#11 |
|
Aug 2002
Buenos Aires, Argentina
2×683 Posts |
I used that number just as an example. I know it is difficult to find numbers that are primes for several bases.
As an extension of the reasoning done above, I will show that a general number cannot be prime in all bases (not only in the case of only zeros and ones as shown above). Let k be any divisor of the sum of the digits (it can also be the sum of the digits, but those numbers are smaller). So Using base k+1 we get the following value: Since This means that the number is multiple of Last fiddled with by alpertron on 2006-11-22 at 18:31 |
|
|
|
![]() |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Aouessare-El Haddouchi-Essaaidi "test": "if Mp has no factor, it is prime!" | wildrabbitt | Miscellaneous Math | 11 | 2015-03-06 08:17 |
| Prime-Related History: Leibniz' "Universal Language Based on Primes" | ewmayer | Math | 10 | 2007-03-02 12:47 |
| Speeding up double checking when first test returns "prime" | Unregistered | PrimeNet | 16 | 2006-02-28 02:00 |
| Oh noes! The "42nd Mersenne prime" isn't prime! | ixfd64 | Lounge | 7 | 2005-04-03 19:27 |
| Would Minimizing "iterations between results file" may reveal "is not prime" earlier? | nitai1999 | Software | 7 | 2004-08-26 18:12 |