mersenneforum.org  

Go Back   mersenneforum.org > Factoring Projects > Lone Mersenne Hunters

Reply
 
Thread Tools
Old 2012-01-11, 02:39   #12
LaurV
Romulan Interpreter
 
LaurV's Avatar
 
"name field"
Jun 2011
Thailand

283316 Posts
Default

Quote:
Originally Posted by Mini-Geek View Post
Don't worry, it compresses very well. In fact, with the right algorithm, (i.e. "where the bytes of the file as a number are x, calculate MMx") you can store it in a single byte: 01111111.
Hehe, right! Even on a single bit, with "the right" algorithm (like "MMMMM\pi_x")

Last fiddled with by LaurV on 2012-01-11 at 02:42
LaurV is offline   Reply With Quote
Old 2012-01-11, 03:46   #13
TimSorbet
Account Deleted
 
TimSorbet's Avatar
 
"Tim Sorbera"
Aug 2006
San Antonio, TX USA

10B716 Posts
Default

Quote:
Originally Posted by LaurV View Post
Hehe, right! Even on a single bit, with "the right" algorithm (like "MMMMM\pi_x")
I stopped at MMx because it fit in one byte, and it wasn't SO specific that it was really only intended for this. E.g. any currently-known double Mersenne could be referred to using <= 4 bytes (i.e. an unsigned 32-bit integer, maxing at p=232-1~=4.3 billion). That could be reduced to 3 bytes by making it MM\pi_x+1 (+1 because there is no 0th prime; so rather than make the "convert file to number" concept more complicated, I'll just add 1). In fact, this could refer to future Mersenne doubles <= M310248241 (the 224th prime) with just 3 bytes! The trouble with this method (using pi(x) in the calculation) is that it can now require some real work just to get p (sure, an efficient sieve can find that in no time, but you still have to correctly implement, or find, an efficient sieve). I think we can spare the extra byte.
TimSorbet is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
MM127 Stan Miscellaneous Math 34 2015-06-19 03:24
Is MM127 a PRP? aketilander Operazione Doppi Mersennes 6 2012-10-31 16:02
MM127 Dougal LMH > 100M 26 2009-12-13 09:57
Is MM127 Prime? Just a Poll jinydu Miscellaneous Math 57 2008-11-08 17:48
MM127 Checkout Page clowns789 Lone Mersenne Hunters 44 2004-09-30 08:06

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


Fri Jul 7 13:22:29 UTC 2023 up 323 days, 10:51, 0 users, load averages: 1.01, 1.13, 1.13

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.

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