ROSECODE 393
Maximize XOR
Let
We are looking for pairs (p,q) such as
is maximal // is the XOR operator.
are both either a prime or a square number
How many such pairs are there for k = 26 ?
Answer format: count,first p,first q
Example: 3,1307,1764 for k = 10
[My timing: 42 sec]
We are looking for pairs (p,q) such as
How many such pairs are there for k = 26 ?
Answer format: count,first p,first q
Example: 3,1307,1764 for k = 10
[My timing: 42 sec]