mersenneforum.org  

Go Back   mersenneforum.org > Great Internet Mersenne Prime Search > Math

Reply
 
Thread Tools
Old 2011-04-16, 17:36   #23
science_man_88
 
science_man_88's Avatar
 
"Forget I exist"
Jul 2009
Dartmouth NS

8,461 Posts
Default

Quote:
Originally Posted by science_man_88 View Post
Code:
(17:49)>for(y=2,300,for(x=1,300,if(((10^x)%y)==((10^(x+1))%y),print(x" "y" "10^x%y);break())))
1 2 0
1 3 1
2 4 0
1 5 0
1 6 4
3 8 0
1 9 1
1 10 0
2 12 4
1 15 10
4 16 0
1 18 10
2 20 0
3 24 16
2 25 0
1 30 10
5 32 0
2 36 28
3 40 0
1 45 10
4 48 16
2 50 0
2 60 40
6 64 0
3 72 64
2 75 25
4 80 0
1 90 10
5 96 64
2 100 0
3 120 40
3 125 0
7 128 0
4 144 64
2 150 100
5 160 0
2 180 100
6 192 64
3 200 0
2 225 100
4 240 160
3 250 0
8 256 0
5 288 64
2 300 100
this can tell us loads up to x=300 ( though it doesn't have the range of y necessary) for example all 10^x for x>=2 are 40 mod 60 ( which is almost the same but stronger than 40 mod 120 for x>=3).
I realized something we only need to check odd (prime ?) y to help us doh.

Last fiddled with by science_man_88 on 2011-04-16 at 17:40
science_man_88 is online now   Reply With Quote
Old 2011-04-16, 19:50   #24
chris2be8
 
chris2be8's Avatar
 
Sep 2009

1001101000012 Posts
Default

Quote:
Originally Posted by science_man_88 View Post
I realized something we only need to check odd (prime ?) y to help us doh.
Try multiplying out (x^333333+1)(x^666666-x^333333+1). Then work out the total number of algebraic factors 10^999999+1 will have.

Chris K
chris2be8 is online now   Reply With Quote
Old 2011-04-16, 20:19   #25
science_man_88
 
science_man_88's Avatar
 
"Forget I exist"
Jul 2009
Dartmouth NS

8,461 Posts
Default

Quote:
Originally Posted by chris2be8 View Post
Try multiplying out (x^333333+1)(x^666666-x^333333+1). Then work out the total number of algebraic factors 10^999999+1 will have.

Chris K
here's a way mod it by a high (primorial(all primes)/2) that way we reduce the number to deal with.
science_man_88 is online now   Reply With Quote
Old 2011-04-17, 13:10   #26
science_man_88
 
science_man_88's Avatar
 
"Forget I exist"
Jul 2009
Dartmouth NS

204158 Posts
Default

Quote:
Originally Posted by science_man_88
Quote:
Originally Posted by Brian-E
Quote:
Originally Posted by science_man_88
Quote:
Originally Posted by Brian-E
Quote:
Originally Posted by science_man_88
Quote:
Originally Posted by Brian-E
Quote:
Originally Posted by science_man_88
Quote:
Originally Posted by Brian-E
Re: proving 10^999999+1 must be composite:

Look at the factors of the small numbers 11, 1001, 100001, ...



Brian.
in other words your pointing out htat the ones with even numbers of 0's in them ordered like these are multiples of 11 .
Right... so you've worked out the hint.
It's all yours now, take it from there.
Brian.
it's actually a more general rule in disguise:

1001 in the same base as 11 is always divides that 11 :
1001b / 11b = (b+1)10
Yes, I believe you are correct that the property is extendable to other bases.
In relation to Paul's challenge to prove that 10^999999+1 is composite, though, all I intended you to observe was that this number is also of the form 1000...0001 in base 10, with even number of zeroes, so it is divisible by 11 and therefore trivially composite.
He also asked you to prove it, though, and as you know observing the property of divisibility by 11 for small numbers of that form is not sufficient to prove it is true for all such numbers.
So can you prove that all numbers of the form 10^(2n+1)+1 are divisible by 11 for n>=0? (And therefore, by putting n=499999, proving that Paul's number is divisible by 11.)
Brian.
actually I was thinking you could use a proof by induction ( I'm learning the proper way to state these from wikipedia). basically if you can prove it for 2 cases k and k+1 you can prove it for all cases ( though usually as far as I ccan tell you aren't necessarily saying the k-th and k+1th in a set that has a difference of more than one.
Induction is a brilliant idea!
All the more impressive if you are self-learning about it from Wikipedia.
It is one of the most powerful tools in Mathematics and this problem certainly lends itself to that.
Go ahead, see if you can prove that 10^999999+1 must be composite using induction.
Brian.
the problem is setting up a set {11,1001,100001,.....} and proving the first ( obvious) and then going to a formula to prove that if one has it then the next has it I've read up. so that's the hard part. basis:11 is obviously divisible by 11, induction: from the recurrence of 100*a(n-1)-99 if a(n-1) |11 then 100 * it will and 99 is |11 so it still becomes |11. so if one a(n) is divisible by 11 they all are. yeah I know a long stretch.
he gave hints through PM.
science_man_88 is online now   Reply With Quote
Old 2011-04-17, 15:20   #27
science_man_88
 
science_man_88's Avatar
 
"Forget I exist"
Jul 2009
Dartmouth NS

100001000011012 Posts
Default

Quote:
Originally Posted by science_man_88 View Post
he gave hints through PM.
okay my wording is crap and it should be a sequence not a set.

Last fiddled with by science_man_88 on 2011-04-17 at 15:30
science_man_88 is online now   Reply With Quote
Old 2011-04-18, 17:32   #28
R.D. Silverman
 
R.D. Silverman's Avatar
 
"Bob Silverman"
Nov 2003
North of Boston

5×17×89 Posts
Default

Quote:
Originally Posted by CRGreathouse View Post
No doubt many are thinking of M6972593, but I mean the smallest prime with one million digits. How difficult would this be to find?

The straightforward approach would be to sieve a small number (few million) candidates to a high enough level (at least 10^14?) to remove most of the composites, and then ~10,000 pseudoprimality tests ).
Where did the number 10,000 come from?

Finding the smallest prime number N with 1 million digits is way way beyond
today's capabilities unless by some extraordinary luck it
has some special feature that allows finding sufficiently many
factors of N-1 or N+1.

IF one assumes the GRH, then 2 log^2(N) prp tests will suffice.
[via a thm. of E. Bach]
R.D. Silverman is offline   Reply With Quote
Old 2011-04-18, 18:25   #29
CRGreathouse
 
CRGreathouse's Avatar
 
Aug 2006

22×3×499 Posts
Default

Quote:
Originally Posted by R.D. Silverman View Post
Where did the number 10,000 come from?
It's just an order-of-magnitude on Mertens' theorem -- tens, not hundreds, of thousands of candidates would need to be examined on average.

Quote:
Originally Posted by R.D. Silverman View Post
Finding the smallest prime number N with 1 million digits is way way beyond
today's capabilities unless by some extraordinary luck it
has some special feature that allows finding sufficiently many
factors of N-1 or N+1.
Right -- this would take too many resources today to be practical. So when might it be? I certainly don't think it will take 300 years to resolve, but I don't expect it will be computed this decade either. What do you think?

It's your intuition, and that of others in the field, that I'm curious about in making this post.

Note that I'm not talking about proving primality (which is far beyond present capabilities) but merely *finding* the smallest megaprime (which is beyond practical capabilities at the moment).

Quote:
Originally Posted by R.D. Silverman View Post
IF one assumes the GRH, then 2 log^2(N) prp tests will suffice.
[via a thm. of E. Bach]
Isn't that under the ERH? Actually that seems more plausible than I had thought -- easily possible under the Erdős-type scenario "aliens will destroy the world unless you prove this", taking probably less than a year with all the world's hardware.

Though I'm not interested in proving, just finding.
CRGreathouse is offline   Reply With Quote
Old 2011-04-18, 18:27   #30
R.D. Silverman
 
R.D. Silverman's Avatar
 
"Bob Silverman"
Nov 2003
North of Boston

11101100011012 Posts
Default

Quote:
Originally Posted by CRGreathouse View Post
It's just an order-of-magnitude on Mertens' theorem -- tens, not hundreds, of thousands of candidates would need to be examined on average.



Right -- this would take too many resources today to be practical. So when might it be? I certainly don't think it will take 300 years to resolve, but I don't expect it will be computed this decade either. What do you think?

It's your intuition, and that of others in the field, that I'm curious about in making this post.

Note that I'm not talking about proving primality (which is far beyond present capabilities) but merely *finding* the smallest megaprime (which is beyond practical capabilities at the moment).



Isn't that under the ERH? Actually that seems more plausible than I had thought -- easily possible under the Erdős-type scenario "aliens will destroy the world unless you prove this", taking probably less than a year with all the world's hardware.

Though I'm not interested in proving, just finding.
Generalized Riemann Hypothesis == Extended Riemann Hypothesis....
R.D. Silverman is offline   Reply With Quote
Old 2011-04-18, 19:51   #31
CRGreathouse
 
CRGreathouse's Avatar
 
Aug 2006

22·3·499 Posts
Default

Quote:
Originally Posted by R.D. Silverman View Post
Generalized Riemann Hypothesis == Extended Riemann Hypothesis....
I think of them as different statements, as (e.g.) Dr. Caldwell writes:
http://primes.utm.edu/notes/rh.html#erh
CRGreathouse is offline   Reply With Quote
Old 2011-04-18, 19:53   #32
science_man_88
 
science_man_88's Avatar
 
"Forget I exist"
Jul 2009
Dartmouth NS

8,461 Posts
Default

I see ways to limit the values it could be significantly I think.

2+4+2+4+2 = 14
4+2+4+2+4+2+4+2+4 =28

using these 2 after finding a n such that 10^x+n is 0 mod 7 can eliminate all multiples of 7. this would remove about 2/42 candidates ( in the range of 9* 10^999999 range before 10^1000000, that's quite a few).

I haven't quite done anything for any other primes.
science_man_88 is online now   Reply With Quote
Old 2011-04-18, 19:59   #33
science_man_88
 
science_man_88's Avatar
 
"Forget I exist"
Jul 2009
Dartmouth NS

8,461 Posts
Default

Quote:
Originally Posted by science_man_88 View Post
I see ways to limit the values it could be significantly I think.

2+4+2+4+2 = 14
4+2+4+2+4+2+4+2+4 =28

using these 2 after finding a n such that 10^x+n is 0 mod 7 can eliminate all multiples of 7. this would remove about 2/42 candidates ( in the range of 9* 10^999999 range before 10^1000000, that's quite a few).

I haven't quite done anything for any other primes.
the multiples that work for 11 are 44 ( for the starts and ends with 2) and 22 ( for the starts and ends with 4).
science_man_88 is online now   Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Sci-Tech extrapolation into Sci-Fi. jwaltos Reading 0 2017-10-31 19:00
Estimating minimum relations bchaffin Factoring 24 2012-03-24 18:37
Using long long's in Mingw with 32-bit Windows XP grandpascorpion Programming 7 2009-10-04 12:13
I think it's gonna be a long, long time panic Hardware 9 2009-09-11 05:11
Msieve NFS minimum size 10metreh Msieve 35 2009-04-02 19:14

All times are UTC. The time now is 15:49.


Fri Jul 7 15:49:33 UTC 2023 up 323 days, 13:18, 0 users, load averages: 1.20, 1.26, 1.22

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, Jelsoft Enterprises Ltd.

This forum has received and complied with 0 (zero) government requests for information.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.
A copy of the license is included in the FAQ.

≠ ± ∓ ÷ × · − √ ‰ ⊗ ⊕ ⊖ ⊘ ⊙ ≤ ≥ ≦ ≧ ≨ ≩ ≺ ≻ ≼ ≽ ⊏ ⊐ ⊑ ⊒ ² ³ °
∠ ∟ ° ≅ ~ ‖ ⟂ ⫛
≡ ≜ ≈ ∝ ∞ ≪ ≫ ⌊⌋ ⌈⌉ ∘ ∏ ∐ ∑ ∧ ∨ ∩ ∪ ⨀ ⊕ ⊗ 𝖕 𝖖 𝖗 ⊲ ⊳
∅ ∖ ∁ ↦ ↣ ∩ ∪ ⊆ ⊂ ⊄ ⊊ ⊇ ⊃ ⊅ ⊋ ⊖ ∈ ∉ ∋ ∌ ℕ ℤ ℚ ℝ ℂ ℵ ℶ ℷ ℸ 𝓟
¬ ∨ ∧ ⊕ → ← ⇒ ⇐ ⇔ ∀ ∃ ∄ ∴ ∵ ⊤ ⊥ ⊢ ⊨ ⫤ ⊣ … ⋯ ⋮ ⋰ ⋱
∫ ∬ ∭ ∮ ∯ ∰ ∇ ∆ δ ∂ ℱ ℒ ℓ
𝛢𝛼 𝛣𝛽 𝛤𝛾 𝛥𝛿 𝛦𝜀𝜖 𝛧𝜁 𝛨𝜂 𝛩𝜃𝜗 𝛪𝜄 𝛫𝜅 𝛬𝜆 𝛭𝜇 𝛮𝜈 𝛯𝜉 𝛰𝜊 𝛱𝜋 𝛲𝜌 𝛴𝜎𝜍 𝛵𝜏 𝛶𝜐 𝛷𝜙𝜑 𝛸𝜒 𝛹𝜓 𝛺𝜔