find the private keys for public keys that share a factor