No, there aren't anywhere near as many squares as there are primes. Up to 10: 3 squares, 4 primes. Up to 100: 10 squares, 25 primes. Up to 1000: 31 squares, 168 primes. Up to 10000: 100 squares, 1229 primes. And it just keeps getting worse.