XOR-Primes
We use for the bitwise XOR of and .
Define the XOR-product of and , denoted by , similar to a long multiplication in base , except that the intermediate results are XORed instead of the usual integer addition.
For example, , or in base , :
An XOR-prime is an integer greater than that is not an XOR-product of two integers greater than . The above example shows that is not an XOR-prime. Similarly, is not an XOR-prime. The first few XOR-primes are and the th XOR-prime is .
Find the th XOR-prime.
异或质数
记为和按位异或的结果。
我们定义一种新运算,称为和的异或积并记作。这种运算类似于对和的二进制表示做长乘法,但是将其中的相加替换为异或。
例如,,或用二进制表示写作:
若大于的整数不是任意两个大于的整数的异或积,则称之为异或质数。上面的例子说明不是一个异或质数。类似地,也不是一个异或质数。较小的异或质数包括,而第个异或质数是。
求第个异或质数。
Gitalking ...