mersenneforum.org  

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

Reply
 
Thread Tools
Old 2004-08-27, 05:55   #1
JuanTutors
 
JuanTutors's Avatar
 
"Juan Tutors"
Mar 2004

571 Posts
Question How are extreme numbers TF'd?

How are extreme numbers (so large that they can't be stored in any computer) trial-factored? It seems like factors of exreme numbers are being found frequently by different groups.
JuanTutors is offline   Reply With Quote
Old 2004-08-27, 08:01   #2
xilman
Bamboozled!
 
xilman's Avatar
 
"๐’‰บ๐’ŒŒ๐’‡ท๐’†ท๐’€ญ"
May 2003
Down not across

101110000101102 Posts
Default

Quote:
Originally Posted by dominicanpapi82
How are extreme numbers (so large that they can't be stored in any computer) trial-factored? It seems like factors of exreme numbers are being found frequently by different groups.
In general, they are not trial-factored. Almost all such numbers are unmanageable.

A few very special numbers, such as factorials and powers of small integers (plus or minus a small constant) are trial factored not by calculating the number and then taking the remainder but by taking remainders as the number is calculated. If the final remainder is (minus or plus the small constant), the number is divisible by the trial factor.

Here's a small worked example. We want to show that 7!+1 is divisible by 71.

1! mod 71 = 1
2! mod 71 = 2*(1! mod 71) mod 71 = 2
3! mod 71 = 3*(2! mod 71) mod 71 = 6
4! mod 71 = 4*(3! mod 71) mod 71 = 24
5! mod 71 = 5*(4! mod 71) mod 71 = 5 * 24 mod 71 = 120 mod 71 = 49
6! mod 71 = 6*(5! mod 71) mod 71 = 6 * 49 mod 71 = 294 mod 71 = 10
7! mod 71 = 7*(6! mod 71) mod 71 = 7 * 10 mod 71 = 70

Therefore, 7!+1 mod 71 = 70+1 mod 71 = 0

Therefore 7!+1 is divisible by 71, as claimed.

Note three things:

(1) this is an unrealistically small example, chosen so the computations would fit into a small browser window.

(2) I chose factorials rather than powers of integers to show that just about any function that can be computed iteratively can have its values tested without having to perform the entire computation first but, rather, the remainder calculated at each iteration. Some functions, such as powers of small integers, can be calculated much faster than others, such as factorials but the principle of the trial factoring remains the same.

(3) The intermediate values in the computation remain quite small. Careful programming should enable them to be not greater than (or not much greater than if the coding isn't quite as careful!) than the square of the trial factor.


Paul
xilman is offline   Reply With Quote
Old 2004-08-27, 12:08   #3
R.D. Silverman
 
R.D. Silverman's Avatar
 
"Bob Silverman"
Nov 2003
North of Boston

166158 Posts
Default

Quote:
Originally Posted by dominicanpapi82
How are extreme numbers (so large that they can't be stored in any computer) trial-factored? It seems like factors of exreme numbers are being found frequently by different groups.
The short answer is that they are not. However, your question is
poorly posed.

If indeed, a number can not be stored, then it can not be trial factored.
However, the meaning of the word 'stored' is subject to interpretation,
because numbers can be represented in different ways. Consider a
Mersenne number, N = 2^p-1, for (say) p = 6090817323763. I can store
this number on a computer. What I can not do is store its DECIMAL
REPRESENTATION. Do not confuse a number with its representation.
There are many ways of representing integers. Decimal is only one of them.

What numbers can be 'stored' depends on how they are represented.
Many numbers can be manipulated and 'stored' even though we do not
have its full decimal representation. Consider N from above. I can compute
N mod 7 without ever computing the decimal expansion of N via e.g. the
binary exponentiation algorithm. I can even compute 2^2^2^2^N - 1 mod 7,
even though this last number is VERY big.
R.D. Silverman is offline   Reply With Quote
Old 2004-08-27, 15:11   #4
alpertron
 
alpertron's Avatar
 
Aug 2002
Buenos Aires, Argentina

1,523 Posts
Default

As an example of very high numbers trial factored you can see in my Web site:

Factorization of numbers near googolplex

and

Factorization of numbers near googolplexplex

Where googol = 10^100, googolplex = 10^googol, googolplexplex = 10^googolplex.
alpertron is offline   Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Extreme commutes MooMoo2 Lounge 5 2016-05-16 22:26
extreme shellfish? R.D. Silverman Soap Box 28 2015-04-30 06:27
Haswell refresh/X99 extreme kracker Hardware 2 2014-03-24 18:58
Extreme sieving MooMoo2 Twin Prime Search 3 2010-09-19 18:06
Has anyone tried some of these extreme ... petrw1 Hardware 1 2008-08-28 16:23

All times are UTC. The time now is 13:36.


Fri Jul 7 13:36:10 UTC 2023 up 323 days, 11:04, 0 users, load averages: 1.18, 1.23, 1.20

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.

โ‰  ยฑ โˆ“ รท ร— ยท โˆ’ โˆš โ€ฐ โŠ— โŠ• โŠ– โŠ˜ โŠ™ โ‰ค โ‰ฅ โ‰ฆ โ‰ง โ‰จ โ‰ฉ โ‰บ โ‰ป โ‰ผ โ‰ฝ โŠ โА โŠ‘ โŠ’ ยฒ ยณ ยฐ
โˆ  โˆŸ ยฐ โ‰… ~ โ€– โŸ‚ โซ›
โ‰ก โ‰œ โ‰ˆ โˆ โˆž โ‰ช โ‰ซ โŒŠโŒ‹ โŒˆโŒ‰ โˆ˜ โˆ โˆ โˆ‘ โˆง โˆจ โˆฉ โˆช โจ€ โŠ• โŠ— ๐–• ๐–– ๐–— โŠฒ โŠณ
โˆ… โˆ– โˆ โ†ฆ โ†ฃ โˆฉ โˆช โІ โŠ‚ โŠ„ โŠŠ โЇ โŠƒ โŠ… โŠ‹ โŠ– โˆˆ โˆ‰ โˆ‹ โˆŒ โ„• โ„ค โ„š โ„ โ„‚ โ„ต โ„ถ โ„ท โ„ธ ๐“Ÿ
ยฌ โˆจ โˆง โŠ• โ†’ โ† โ‡’ โ‡ โ‡” โˆ€ โˆƒ โˆ„ โˆด โˆต โŠค โŠฅ โŠข โŠจ โซค โŠฃ โ€ฆ โ‹ฏ โ‹ฎ โ‹ฐ โ‹ฑ
โˆซ โˆฌ โˆญ โˆฎ โˆฏ โˆฐ โˆ‡ โˆ† ฮด โˆ‚ โ„ฑ โ„’ โ„“
๐›ข๐›ผ ๐›ฃ๐›ฝ ๐›ค๐›พ ๐›ฅ๐›ฟ ๐›ฆ๐œ€๐œ– ๐›ง๐œ ๐›จ๐œ‚ ๐›ฉ๐œƒ๐œ— ๐›ช๐œ„ ๐›ซ๐œ… ๐›ฌ๐œ† ๐›ญ๐œ‡ ๐›ฎ๐œˆ ๐›ฏ๐œ‰ ๐›ฐ๐œŠ ๐›ฑ๐œ‹ ๐›ฒ๐œŒ ๐›ด๐œŽ๐œ ๐›ต๐œ ๐›ถ๐œ ๐›ท๐œ™๐œ‘ ๐›ธ๐œ’ ๐›น๐œ“ ๐›บ๐œ”