813. XOR-Powers

We use to be 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 , :

Further we define . For example .

Find . Give your answer modulo .

813. 异或幂

我们记 按位异或的结果。

我们定义 异或乘积 如下:在列竖式进行乘法时,其他步骤不变,只在最后得出结果时,将算出的每一列中的数字进行异或,而非原来的二进制加法。

例如,。或将此等式表示为二进制,。计算过程如下:

我们进一步记 。例如

试求 之值。


这个链接 回到源站。

这个链接 回到详细版题目目录。