Problem A6

For a set S of nonnegative integers, let rS(n) denote the number of ordered pairs (s1, s2) such that s1 Î S, s2 Î S, s1 ¹ s2, and s1 + s2 = n. Is it possible to partition the nonnegative integers into two sets A and B in such a way that rA(n) = rB(n) for all n?