The trigonometric polynomial on sums of two squares, an additive problem and generalisation | Synapse