Bitcoin Forum
August 21, 2024, 02:22:19 PM *
News: All versions of Windows are affected by a critical security bug; make sure you update.
 
   Home   Help Search Login Register More  
Pages: « 1 [2]  All
  Print  
Author Topic: [XRM] So... How we extract the new primes from the Primecoin Blockchain?  (Read 2798 times)
Sunny King
Legendary
*
Offline Offline

Activity: 1205
Merit: 1010



View Profile WWW
July 08, 2013, 05:15:42 PM
 #21

1CC is the chain below center numbers, 2CC is the chain above center numbers.

So you should substract 1 from the center numbers (keep doubling from origin) for 1CC.

http://en.wikipedia.org/wiki/Cunningham_chain

If I'm reading this correctly its actually the other way around.

Cunningham Chain of the first type:



Yes, but that's not contradictory.

(n-1) * 2 + 1 = (2n - 1)

From center number you substract one.
From previous prime number you double and add one.
Petr1fied
Hero Member
*****
Offline Offline

Activity: 630
Merit: 502


View Profile
July 08, 2013, 05:18:29 PM
 #22

1CC is the chain below center numbers, 2CC is the chain above center numbers.

So you should substract 1 from the center numbers (keep doubling from origin) for 1CC.

OK got it, I was going in the wrong direction. Wink

Petr1fied
Hero Member
*****
Offline Offline

Activity: 630
Merit: 502


View Profile
July 08, 2013, 05:49:33 PM
 #23

I think I have it working as it should in Block Crawler now:

http://primeblock.kicks-ass.net/block_crawler.php

rethaw
Sr. Member
****
Offline Offline

Activity: 378
Merit: 255



View Profile
July 08, 2013, 09:44:43 PM
 #24

I think I have it working as it should in Block Crawler now:

http://primeblock.kicks-ass.net/block_crawler.php



Neat!

defaced
Legendary
*
Offline Offline

Activity: 2198
Merit: 1012


Franko is Freedom


View Profile WWW
July 08, 2013, 09:52:16 PM
 #25

Now i see.

Fortune Favors the Brave
Borderless CharityEXPANSEEXRAllergy FinderFranko Is Freedom
sevenseals
Full Member
***
Offline Offline

Activity: 167
Merit: 100



View Profile
July 11, 2013, 10:09:37 PM
 #26

what is prime calculation good for?
Pages: « 1 [2]  All
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!