MathDB
2018 Algebra / NT #8

Source:

February 12, 2018

Problem Statement

For how many pairs of sequences of nonnegative integers (b1,b2,,b2018)(b_1,b_2,\ldots, b_{2018}) and (c1,c2,,c2018)(c_1,c_2,\ldots, c_{2018}) does there exist a sequence of nonnegative integers (a0,,a2018)(a_0,\ldots, a_{2018}) with the following properties:
[*] For 0i2018,0\leq i\leq 2018, ai<22018.a_i<2^{2018}. [*] For 1i2018,bi=ai1+ai1\leq i \leq 2018, b_i=a_{i-1}+a_i and ci=ai1aic_i=a_{i-1}|a_i;
where | denotes the bitwise or operation?