A Conversation for Ask h2g2
Prime Numbers
Dancer (put your advert here) Started conversation Jan 29, 2002
I need to prove that a series of nubmers are all prime numbers, I don't know how to do this mathematically, but it looks good, as far as my eyes can see.
I'll give a wrong exampl:
1 is prime, 2 is prime, 3 = 1+2 and is prime, 5 = 2+3 and is prime so the series 1,2,3,5 is prime (addin 2 last elements.
The true example:
This is of course untrue, and fails on the next step, but:
1 is prime, 11 is prime, 101 is prime, 1001 is prime, 10001 is prime etc...
so 1+10^n is prime... now how do I prove it???
Dancer
Prime Numbers
Ocean Soul (registered Linux user 390755) Posted Jan 29, 2002
Erm, strictly speaking 1 isn't a prime number. The definition of a prime number is that it can be divided by only two other numbers, 1 and itself. For the case of 1, this isn't true. (Runs away before being shouted at for killing theory)
Prime Numbers
Xanatic Posted Jan 29, 2002
Wether 1 is a prime seems to be more a matter of definition. It does after all live up to the rule you gave. It can be divided only by 1 and itself.
Prime Numbers
sdotyam Posted Jan 29, 2002
Mersenne, Fermat and friends tried to find a formula that would always produce a prime number. Such efforts appear to be doomed to failure - nobody has ever succeeded in finding one.
See http://www.bbc.co.uk/dna/h2g2/alabaster/A670051 Mersenne primes.
Prime Numbers
Madent Posted Jan 29, 2002
My table of prime numbers includes 1.
I don't recall ever seeing an expression to calculate a prime number, let alone a progression of prime numbers. Good luck in creating one.
Prime Numbers
Gnomon - time to move on Posted Jan 29, 2002
1 is usually not considered to be a prime number, but it is a matter of definition.
You won't be able to find a sequence of numbers like 1, 11, 101, 1001 etc that are all prime. People have been searching for a long time and have never come up with one.
Prime Numbers
Xanatic Posted Jan 29, 2002
I saw a program the other day about this woman. She took random rows of numbers and then colored the prime numbers black. So the squares with a normal number was white and the other sqaures where black. She made art out of them. She said so anyway, it just looked stupid to me.
Prime Numbers
sdotyam Posted Jan 29, 2002
Dancer, I dont want to rain on your parade, but 1001 is not prime. 77x13=1001. Sorry.
Prime Numbers
Bagpuss Posted Jan 30, 2002
By the way 10^0 +1 = 2, so your sequence should go 2, 11, 101, 1001 = 7x11x13, 10001, 100001 = 11x9091, ...
In fact, every second number is divisible by 11.
Prime Numbers
Gnomon - time to move on Posted Jan 30, 2002
Like all such patterns this one will not give good results:
101 prime
10001 = 73 * 137
1000001 = 101 * 9901
100000001 = 17 * 5882353
and so on.
Prime Numbers
Bagpuss Posted Jan 31, 2002
Do you have some program to test divisibility?
That is of course the problem with large numbers. I could claim 187387592659265923 is prime and probably not get contradicted if no-one has a clever program to figure it out. (By the way, I don't know if it's prime, but even though I avoided the easily testable multiples of 3, 5 and 11, the chances are it isn't).
As Gnomon points out, no patern that consistently gives primes has been discovered. I don't think the possibility has been ruled out, but anything as simple as powers +1 has almost certainly been considered.
Key: Complain about this post
Prime Numbers
- 1: Dancer (put your advert here) (Jan 29, 2002)
- 2: Ocean Soul (registered Linux user 390755) (Jan 29, 2002)
- 3: Xanatic (Jan 29, 2002)
- 4: sdotyam (Jan 29, 2002)
- 5: Madent (Jan 29, 2002)
- 6: Gnomon - time to move on (Jan 29, 2002)
- 7: Xanatic (Jan 29, 2002)
- 8: sdotyam (Jan 29, 2002)
- 9: Dancer (put your advert here) (Jan 30, 2002)
- 10: Bagpuss (Jan 30, 2002)
- 11: Potholer (Jan 30, 2002)
- 12: Gnomon - time to move on (Jan 30, 2002)
- 13: Bagpuss (Jan 31, 2002)
More Conversations for Ask h2g2
Write an Entry
"The Hitchhiker's Guide to the Galaxy is a wholly remarkable book. It has been compiled and recompiled many times and under many different editorships. It contains contributions from countless numbers of travellers and researchers."