Does there exist two infinite sets of naturals $A, B$ such that each $n \in A + B = \{ a + b : a\in A, b\in B\}$ has a unique solution $a + b = n$ in which $a \in A, b \in B$?
For example:
$$ A = \{0,3,6\} \\ B = \{0,2,7\} \\ \implies \\ 0 = 0 + 0 \text{ is unique } \\ 0 = 0 + 2 \text{ is unique } \\ \vdots \\ 6 + 7 = 13 \text{ is unique } $$
But I need the sets $A, B$ to be infinite.
I need it so that when multiplying two numbers in binary:
$$ (\sum_{i \in A}^{\infty} a_i 2^i)(\sum_{j \in B}^{\infty} b_j 2^j) $$
Each coefficient is of the form $a_i b_j$ for some $i, j$ and so that the position $i$ that $a_i$ came from and the position $j$ that $b_j$ came from is uniquely determined by the value $i + j$.
I only need to always be able to determine two finite sets $A, B$ of roughly the same size such that $|A||B| = |A + B| = N^2$ for any $N \in \Bbb{N}$, which is why infinity came to mind, but an algorithm that returns the two finite sets given $N$ is sufficient for my purposes.
Define $A,B$ as follows . . .
- Let $A$ be the set of positive integers of the form $2^s$ where $s$ is even.
- Let $B$ be the set of positive integers of the form $2^t$ where $t$ is odd.
If for $a\in A$ and $b\in B$, we have $$n=a+b=2^s+2^t$$ where $s$ is even and $t$ is odd, then $s,t$ are uniquely determined by $n$, hence so are $a,b$.