Primecoin is an example of this, where the mining process produces prime numbers which can be useful for.. something?