Bitcoin Forum

Alternate cryptocurrencies => Altcoin Discussion => Topic started by: bigbeninlondon on July 19, 2013, 11:10:26 AM



Title: PrimeCoin; What's the deal?
Post by: bigbeninlondon on July 19, 2013, 11:10:26 AM
So I've been seeing a lot of interest in PrimeCoin, and some mention of scientific work being done using primecoin, but I don't get it.  What's PrimeCoin doing for the scientific community?  The whitepaper says it's not finding new primes because they are too big to work on.  Can someone EILI5?


Title: Re: PrimeCoin; What's the deal?
Post by: digicoin on July 19, 2013, 11:18:22 AM
Pure mathematical purpose. No real life purpose. I don't mine this coin. Innovative and useless.


Title: Re: PrimeCoin; What's the deal?
Post by: AgentME on July 19, 2013, 11:21:27 AM
If you read the paper, it explains it's finding prime chains.

It's not terribly useful (like protein folding tier stuff), but it's much more interesting than the chain of arbitrary hashes that every other coin spends tons of computational power into. Bitcoin has tons and tons of computing power just going into verification of the current block. Primecoin does the same thing, but also simultaneously makes a huge blockchain's worth of mildly interesting computations.


Title: Re: PrimeCoin; What's the deal?
Post by: markm on July 19, 2013, 11:22:09 AM
There isn't enough data storage on earth, maybe not in the entire universe, to remember all primes, so finding new ones surely has to involve forgetting old ones at some point.

Primecoin though isn't looking for primes, it is looking some some fancy pattern/sequence of primes, I dunno though whether they too are so numerous we won't be able to remember them all.

Though if we only need remember on the blockchain those we found for the blockchain that isn't a problem for us; and maybe only bothering to remember some rare sequences is going to let science actually remember what is found instead of trying to find stuff it is only going to have to forget at some point when it runs out of memory/storage...

-MarkM-


Title: Re: PrimeCoin; What's the deal?
Post by: oroqen on July 19, 2013, 11:27:26 AM
There isn't enough data storage on earth, maybe not in the entire universe, to remember all primes, so finding new ones surely has to involve forgetting old ones at some point.

Primecoin though isn't looking for primes, it is looking some some fancy pattern/sequence of primes, I dunno though whether they too are so numerous we won't be able to remember them all.

Though if we only need remember on the blockchain those we found for the blockchain that isn't a problem for us; and maybe only bothering to remember same rare sequences is going to let science actually remember what is found instead of trying to find stuff it is only going to have to forget at some point when it runs out of memory/storage...

-MarkM-

Same can be said for any number, numbers are infinite regardless if there used in SHA,Scrypt or Prime chains.


Title: Re: PrimeCoin; What's the deal?
Post by: mr_random on July 19, 2013, 11:49:53 AM
There is some use to the data gathered for pure mathematicians (disproving conjectures, possibly discovering new patterns). In the same way you get programs online that allow people to search for higher and higher prime numbers (often Mersenne primes). It's usefulness is in a similar vein to those. The coin in itself will also strongly motivate people to write efficient algorithms that crunch through prime numbers, so a by product of the coin could be a breakthrough in that direction. A lot of 'pure maths' doesn't (yet) have any real world applications. Over the last hundred years though time and again pure maths that was thought to not be useful was later found to be ideal for solving a problem.

At the end of the day it's still primarily a currency, with 1 minute confirmation times. That's it's main purpose. But as a bonus, at least the proof of work contributes to society in some way rather than meaningless forgotten hashes.


Title: Re: PrimeCoin; What's the deal?
Post by: markm on July 19, 2013, 11:57:29 AM
Well think about lazguns and shields, as in Dune, especially the later Dune books by his son and a collaborator in which we get the story of the mathematician whose maths led to that stuff.

If you like to manipulate/disintegrate things using harmonics, mightn't primes be more resistant to more higher-frequency harmonics than other numbers?

In fact don't primes have no higher-frequency harmonics (well, except the integer "one") if the universe/substrate is quantised aka fundamentally integer?

Maybe primes will be involved in that ten thousand years ahead future development... :D

-MarkM-


Title: Re: PrimeCoin; What's the deal?
Post by: tob101 on July 19, 2013, 11:59:08 AM
The 1 minute confirmation time makes it a winner(I prefer to use XPM than those "cheap" scrypt cloneCoins) for those who do lots of arbitrage, it's currently in 3 or 4 exchanges, so moving funds between them with primeCoin is the best option so far. Wait until it hits BTC-e, it's price is gonna explode!  :D


Title: Re: PrimeCoin; What's the deal?
Post by: oroqen on July 19, 2013, 12:16:53 PM
The 1 minute confirmation time makes it a winner(I prefer to use XPM than those "cheap" scrypt cloneCoins) for those who do lots of arbitrage, it's currently in 3 or 4 exchanges, so moving funds between them with primeCoin is the best option so far. Wait until it hits BTC-e, it's price is gonna explode!  :D
didn't BTC-e say no for now?


Title: Re: PrimeCoin; What's the deal?
Post by: tob101 on July 19, 2013, 12:29:21 PM
The 1 minute confirmation time makes it a winner(I prefer to use XPM than those "cheap" scrypt cloneCoins) for those who do lots of arbitrage, it's currently in 3 or 4 exchanges, so moving funds between them with primeCoin is the best option so far. Wait until it hits BTC-e, it's price is gonna explode!  :D
didn't BTC-e say no for now?

I don't know. Maybe after a test-period they will reconsider it. XPM looks better than all the scrypt altCoin so far.


Title: Re: PrimeCoin; What's the deal?
Post by: Endgame on July 19, 2013, 12:42:36 PM
It would be good to hear a mathematician's view on the usefulness of these prime chains. Seems dubious to me.


Title: Re: PrimeCoin; What's the deal?
Post by: smoothie on July 19, 2013, 12:52:48 PM
I'm curious of the efects of the network once difficulty gets really high and prime numbers to be found are insanely difficult to compute let alone verify by nodes to be efficient in any meaningful way.


Title: Re: PrimeCoin; What's the deal?
Post by: AgentME on July 19, 2013, 01:13:54 PM
It would be good to hear a mathematician's view on the usefulness of these prime chains. Seems dubious to me.

They're useful in showing some empirical data on the distribution of prime chains and maybe primes themselves, but they're not useful in the sense of protein folding calculations. To me, a blockchain full of mildly interesting computations is much better than one of arbitrary hashes that do nothing more than verify the latest transaction.

I'm curious of the efects of the network once difficulty gets really high and prime numbers to be found are insanely difficult to compute let alone verify by nodes to be efficient in any meaningful way.

Each chain length is much harder to find than the previous, but the difficulty in verification is only a constant difference, so I don't see that becoming an issue.


Title: Re: PrimeCoin; What's the deal?
Post by: Taxidermista on July 19, 2013, 01:54:19 PM
There isn't enough data storage on earth, maybe not in the entire universe, to remember all primes

I didn't know there is a finite amount of primes.


Title: Re: PrimeCoin; What's the deal?
Post by: bitg on July 19, 2013, 02:06:01 PM
There isn't enough data storage on earth, maybe not in the entire universe, to remember all primes

I didn't know there is a finite amount of primes.

That's indeed what's implied but i think he was only betrayed by the choice of words

OnT: I think Primecoin is a step in the right direction, i am bugged by the general pointlessness and waistness of mining cryptos. I am patiently waiting for a coin which can be actually useful and sets the miners in a cooperative spending of resources, currently this cooperativeness can only be achieved by mining in pools, which Primecoin lacks. But what i would like to see is this cooperation structuraly implemented, otherwise the waist in resources is crasy.


Title: Re: PrimeCoin; What's the deal?
Post by: solracx on July 19, 2013, 02:08:49 PM
There is some use to the data gathered for pure mathematicians (disproving conjectures, possibly discovering new patterns). In the same way you get programs online that allow people to search for higher and higher prime numbers (often Mersenne primes). It's usefulness is in a similar vein to those. The coin in itself will also strongly motivate people to write efficient algorithms that crunch through prime numbers, so a by product of the coin could be a breakthrough in that direction. A lot of 'pure maths' doesn't (yet) have any real world applications. Over the last hundred years though time and again pure maths that was thought to not be useful was later found to be ideal for solving a problem.

At the end of the day it's still primarily a currency, with 1 minute confirmation times. That's it's main purpose. But as a bonus, at least the proof of work contributes to society in some way rather than meaningless forgotten hashes.

Good answer.


Title: Re: PrimeCoin; What's the deal?
Post by: solracx on July 19, 2013, 02:10:23 PM
I'm curious of the efects of the network once difficulty gets really high and prime numbers to be found are insanely difficult to compute let alone verify by nodes to be efficient in any meaningful way.

That's the 1,000 XPM question.... as you go from a chain of length N to a chain of length N+1, how much does the difficulty actually change?


Title: Re: PrimeCoin; What's the deal?
Post by: hathmill on July 19, 2013, 03:38:34 PM
Primecoin will be favored by academia and Thats were the Big money is!!!! :)


Title: Re: PrimeCoin; What's the deal?
Post by: blastbob on July 19, 2013, 03:40:37 PM
I'm curious of the efects of the network once difficulty gets really high and prime numbers to be found are insanely difficult to compute let alone verify by nodes to be efficient in any meaningful way.

That's the 1,000 XPM question.... as you go from a chain of length N to a chain of length N+1, how much does the difficulty actually change?

Buy better amazon nodes :)


Title: Re: PrimeCoin; What's the deal?
Post by: AgentME on July 19, 2013, 03:48:23 PM
I'm curious of the efects of the network once difficulty gets really high and prime numbers to be found are insanely difficult to compute let alone verify by nodes to be efficient in any meaningful way.

That's the 1,000 XPM question.... as you go from a chain of length N to a chain of length N+1, how much does the difficulty actually change?

I think I saw an estimate that difficulty 8 was 30x harder to find chains for than difficulty 7. (But verifying just means checking one more prime, so it's only 1/7 harder in that case.)


Title: Re: PrimeCoin; What's the deal?
Post by: usahero on July 19, 2013, 03:58:02 PM
Coin was initially interesting, because:

1. was created by established developer
2. announced on time with fair start for everyone
3. it was supposedly rewarding to early adopter
4. it was mined on cpu's. You could concurrently mine with gpu and cpu.
5. It was selling at relatively high prices on the forum market.

Coin later become bomb, because:
1. It is exchanged on 4 exchanges.
2. It is very fast.
3. Everyone likes pumps.
4. Profit!!



Does it have future? I think it has a bright future, but there will be some dips. I cannot predict at which price it will sell, the price is currently pretty high for a new coin. :)





Title: Re: PrimeCoin; What's the deal?
Post by: vokain on July 19, 2013, 04:09:47 PM
I'm curious of the efects of the network once difficulty gets really high and prime numbers to be found are insanely difficult to compute let alone verify by nodes to be efficient in any meaningful way.

http://bitcoinmagazine.com/primecoin-the-cryptocurrency-whose-mining-is-actually-useful/

Quote
In order to be a viable cryptocurrency, Primecoin needs a way to finely tune the difficulty of the proof of work; otherwise, new developments in technology or increased popularity may lead to new blocks being created too quickly for the blockchain to be stable or so slowly that transactions take hours to confirm. By themselves, prime chains do not provide enough granularity; a chain eight primes long may be a hundred times harder to find than a chain seven primes long. One option is to reward length, but that would make verification more difficult. The solution that Primecoin settled for is one based on the Fermat test. The Fermat test is a quick way of telling if a number is (very probably) a prime: raise any number (typically 2) to the power of a prime, subtract out the prime as many times as possible and see if you get the original number back. For example:

217 – 17 * 7710 = 2
223 – 23 * 364722 = 2

But:

221 – 21 * 99864 = 8

An alternative, and slightly better, formulation is to raise the number to the power of the prime minus one and see if you get one; this being true clearly implies the number passing the other test, and the other direction holds most of the time (one exception is that 3560 = 375 but 3561 = 3 (561 is not prime), but these become extremely rare as primes get bigger). Primecoin uses the p-1 test in combination with the Euler-Lagrange-Lifchitz test, which uses similar principles, to establish primality. So, the question is, how can one use this test to create granularity? That is, how can one distinguish between a chain 7.2 primes long and a chain 7.5 primes long? The answer is simple: look at the resulting value of the Fermat test of the first value in the chain not to be a prime; the lower it is, the larger the “fractional length”. For example, our chain of 2, 5, 11, 23, 47 has the next value 95, 294 modulo 95 (modulo being the mathematical term for the process of repeated subtraction used above) is 54, so the chain would have a length of 5 + (95 – 54) / 95 ~= 5.43. However, the chain 1531…24481 has the next value 48961 with a relatively low Fermat remainder of 1024, so the length would be 5 + (48961 – 1024) / 48961 ~= 5.97. In order for a prime chain to count as a valid proof of work, it must have a fractional length at least equal to the difficulty; as of the time of this writing, this parameter is floating around 7.1.

Since we do not want proofs of work to be reusable, Primecoin also adds another restriction. For the purposes of Primecoin, the “origin” of a bi-twin chain is defined as the average of the first pair, and for single Cunningham chains the origin is what the average of the first pair would be if the Cunningham chain’s twin also existed; for example, the origins of the two single Cunningham chains given above are 1530 and 3, respectively. The restriction is that the origin of a prime chain must be divisible by the hash of the block that the proof of work is for. Hash functions have the property that the only way to look for a value that has a particular hash is the computationally infeasible strategy of simply trying new values until you get a result that works; thus, the only way to generate valid proofs of work is to look for prime chains targeted to one block of which you already know the hash, and these chains would only ever be useful for that specific block.

Primecoin also adds a number of other innovations on the side:

Smooth difficulty adjustment – unlike Bitcoin, which adjusts its difficulty to exactly match the target rate of 1 block per 10 minutes every 2016 blocks (roughly two weeks), Primecoin adjusts its difficulty slightly every block, nudging it toward the target rate in an exponential decay pattern. For example, if network hash power (or rather, prime generation power) suddenly doubles, the next block would be 0.02% harder than the previous, increasing the amount of work required per block to 186.5% of the original after one week and 198.2% after two weeks, assuming no further mining power increases take place.
Very fast confirmations – unlike Bitcoin, where transactions take an average of ten minutes to confirm (eight minutes in practice since the difficulty must constantly catch up to increasing mining power), Primecoin blocks come at a rate of one per minute. This allows secure transactions to be made much more quickly; six confirmations may take fifty minutes in Bitcoin, but they take only six minutes in Primecoin. The underlying mathematics behind why six confirmations is a fairly safe threshold is independent of block confirmation time, so the Primecoin transaction at six confitmations is no less secure (it can be argued that attackers can make double-spending attempts ten times more frequently, but going up to just seven or eight confirmations more than makes up for this).
Self-adjusting block reward – Bitcoin is known for its controlled currency supply algorithm, which guarantees that only 21 million bitcoins will ever be generated, as well as specifying the rate at which these bitcoins will come out. Primecoin follows a different path. The number of primecoins (XPM) released per block is always equal to 999 divided by the square of the difficulty, a formula which should converge to some maximum if the difficulty increases linearly. Given that Moore’s Law states that computing power increases exponentially, and the effort it takes to find a prime chain is exponential in its length, that is quite likely to hold true.


Title: Re: PrimeCoin; What's the deal?
Post by: mr_random on July 19, 2013, 04:12:46 PM
^ Sunny has said previously that if the continuous difficulty adjustment responds too rapidly it can be exploited. However maybe he could increase it a little bit (50%?) without any harm..?


Title: Re: PrimeCoin; What's the deal?
Post by: solracx on July 19, 2013, 09:00:18 PM
I'm curious of the efects of the network once difficulty gets really high and prime numbers to be found are insanely difficult to compute let alone verify by nodes to be efficient in any meaningful way.

That's the 1,000 XPM question.... as you go from a chain of length N to a chain of length N+1, how much does the difficulty actually change?

I think I saw an estimate that difficulty 8 was 30x harder to find chains for than difficulty 7. (But verifying just means checking one more prime, so it's only 1/7 harder in that case.)

Hmmm.. if there are 30 less chains from 7 to 8 then it should still be 30 times harder to find a new chain.  I don't think the extra check reduces the difficulty by much. (Just increases the individual effort, but I don't think percentage wise it is much)

BTW did anyone perform timing as to where in the code it spends most of its time?


Title: Re: PrimeCoin; What's the deal?
Post by: mercSuey on July 19, 2013, 09:17:26 PM
I'm curious of the efects of the network once difficulty gets really high and prime numbers to be found are insanely difficult to compute let alone verify by nodes to be efficient in any meaningful way.

This.

If we're not finding new (bigger) primes then isn't it possible to exploit the network?  But if indeed we're finding new primes, I don't see how the diff retarget algo can properly correlate with network hash rate growth eventually.  I even brought this up to Sunny King and I guess I worded my question in a way that Sunny misunderstood.  Nevertheless, this isn't innovative in the sense of finding new primes because it's not exhaustive.  For example, the sieve in ypool's jhPrimeMiner loads the primes in the first million positive integers.  That's only about 78k primes.  The more I look at it the more it just seems like XPM is using primes kind of like public keys for hashing new blocks to the block chain. 


Title: Re: PrimeCoin; What's the deal?
Post by: Joerii on July 19, 2013, 10:39:59 PM
There isn't enough data storage on earth, maybe not in the entire universe, to remember all primes, so finding new ones surely has to involve forgetting old ones at some point.

Primecoin though isn't looking for primes, it is looking some some fancy pattern/sequence of primes, I dunno though whether they too are so numerous we won't be able to remember them all.

Though if we only need remember on the blockchain those we found for the blockchain that isn't a problem for us; and maybe only bothering to remember same rare sequences is going to let science actually remember what is found instead of trying to find stuff it is only going to have to forget at some point when it runs out of memory/storage...

-MarkM-


You pretty much always lose me halfway through your post. Is it because you have a habit of rambling at the end or are you simply smarter then me ? Food for thought.


Title: Re: PrimeCoin; What's the deal?
Post by: pr9me on July 19, 2013, 10:43:49 PM
Someone with a lot of BTC likes XPM.


Title: Re: PrimeCoin; What's the deal?
Post by: markm on July 19, 2013, 10:47:59 PM
There isn't enough data storage on earth, maybe not in the entire universe, to remember all primes

I didn't know there is a finite amount of primes.

That's indeed what's implied but i think he was only betrayed by the choice of words

OnT: I think Primecoin is a step in the right direction, i am bugged by the general pointlessness and waistness of mining cryptos. I am patiently waiting for a coin which can be actually useful and sets the miners in a cooperative spending of resources, currently this cooperativeness can only be achieved by mining in pools, which Primecoin lacks. But what i would like to see is this cooperation structuraly implemented, otherwise the waist in resources is crasy.

So maybe I should have written there is not an infinite amount of storage on Earth and maybe not in the universe.

I think I basically meant that we don't have enough compression / generation tools for primes yet to be able to practically be able to recall/regenerate them on demand. Maybe if we understood them better we'd have some kind of tool that would compress the information like the way various infinite series can be written in less than infinite amount of symbols. Calculus routinely adds up an infinite number of numbers, for example, whether or not the universe actually has room for that many numbers to actually be stored. It doesn't take in infinite amount of time to add them up, either.

-MarkM-


Title: Re: PrimeCoin; What's the deal?
Post by: AgentME on July 20, 2013, 02:02:13 AM
I'm curious of the efects of the network once difficulty gets really high and prime numbers to be found are insanely difficult to compute let alone verify by nodes to be efficient in any meaningful way.

This.

If we're not finding new (bigger) primes then isn't it possible to exploit the network?  But if indeed we're finding new primes, I don't see how the diff retarget algo can properly correlate with network hash rate growth eventually.  I even brought this up to Sunny King and I guess I worded my question in a way that Sunny misunderstood.  Nevertheless, this isn't innovative in the sense of finding new primes because it's not exhaustive.  For example, the sieve in ypool's jhPrimeMiner loads the primes in the first million positive integers.  That's only about 78k primes.  The more I look at it the more it just seems like XPM is using primes kind of like public keys for hashing new blocks to the block chain. 

Primecoin is about finding new prime chains, not about finding new primes. But I can't understand what else you're saying. The difficulty number corresponds to how long the prime chain has to be (and contains a percentage of how many prime chains of that length get rejected anyway, in order to smooth out the difficulty changes). It seems to work pretty well.


Title: Re: PrimeCoin; What's the deal?
Post by: Robin,Hood on April 28, 2018, 09:39:47 AM
So Whats the deal why did xpm pump 140%