The additive triple spectrum in F_3^N
For subsets $A,B\subseteq\mathbb F_3^n$ of sizes $s,t$, respectively, let $r(A,B,B)$ be the number of ordered triples $(a,b,b')\in A \times B\times B$ satisfying $a+b=b'$. The additive triple spectrum $r_n(s,t)$ is the set of all values of $r(A,B,B)$ attained by such pairs of sets. We determine the minimum of the spectrum for $s\le2\cdot3^{n-1}$ and the maximum for $s\ge3^{n-1}$, and characterize when the upper bound $st$ is attained. We also show that for certain choices of $n,s$ and $t$, a block of consecutive values is always missing in the spectrum. Using subspaces and Sidon sets, we construct attainable values between the endpoints. For Schur triples, we determine the minimum for $t\le2\cdot3^{n-1}$ and the maximum for $t\ge3^{n-1}$. We also extend our endpoint results to fields of odd prime power order.