Bitcoin Forum
May 09, 2024, 04:20:15 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Pi Coin  (Read 2405 times)
spndr7 (OP)
Legendary
*
Offline Offline

Activity: 1020
Merit: 1000



View Profile WWW
August 11, 2013, 01:36:33 AM
 #1

A new coin could be created using generation of the digits of pi as measure of computational work.Pi is an irrational number and can be written as generalised continued fraction as --




Recursive function implementing 1st continued fraction for n iterations
Quote
float rec(float x,int n){
        float ret;
        if(x>=n)
        ret=1;
        else
        ret=(1+2*x)+((x+1)*(x+1)/rec(x+1));
       
       
        return(ret);
        }

int main(){
    float x;
       
    x=4/(1+(1/rec(1,8)));     //here n=8
    printf("\npi=%f",x);
   
 
     return(0);
     }

Here 8 iterations produce first 3 correct digits of pi.


It can be seen that as the number of iterations are gradually increased,computational complexity increases exponentially.Block reward could be adjusted accordingly.

Verification of n th digit can be directly found using  Bailey–Borwein–Plouffe formula. The formula can directly calculate the value of any given digit of pi without the need to calculate the preceding digits.

Attempt and result of obtaining 10 Trillion digits of pi


1715271615
Hero Member
*
Offline Offline

Posts: 1715271615

View Profile Personal Message (Offline)

Ignore
1715271615
Reply with quote  #2

1715271615
Report to moderator
1715271615
Hero Member
*
Offline Offline

Posts: 1715271615

View Profile Personal Message (Offline)

Ignore
1715271615
Reply with quote  #2

1715271615
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
Balthazar
Legendary
*
Offline Offline

Activity: 3108
Merit: 1358



View Profile
August 11, 2013, 01:42:46 AM
 #2

Viète would be happy Smiley
spndr7 (OP)
Legendary
*
Offline Offline

Activity: 1020
Merit: 1000



View Profile WWW
August 11, 2013, 02:02:39 PM
Last edit: August 15, 2013, 08:01:13 PM by spndr7
 #3

Other current problems from Experimental Maths could also be used for p2p alt coins.

MaGNeT
Legendary
*
Offline Offline

Activity: 1526
Merit: 1002


Waves | 3PHMaGNeTJfqFfD4xuctgKdoxLX188QM8na


View Profile WWW
August 11, 2013, 02:04:03 PM
 #4

total coins: 31,415,926
balanghai
Sr. Member
****
Offline Offline

Activity: 364
Merit: 253


View Profile
August 11, 2013, 02:26:20 PM
 #5

How about adding the square root to the computation? And perhaps integrate another service like render farm or something closer?
mechs
Full Member
***
Offline Offline

Activity: 210
Merit: 100



View Profile
August 11, 2013, 08:33:49 PM
 #6

Considering Pi has already been found to 10 trillion digits and for most practical engineering purposes 29 digits considered to be surfice (what nasa uses), not sure if such a PoW had any true usefulness scientifically.
Pages: [1]
  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!