On p.112-113 of volume 10-1 of Gauss's werke, which contain an unpublished fragment dated to 1805, Gauss states some results on cubic and biquadratic "Gaussian periods" in a trigonometric form. While the result on the cubic period was already published by Gauss in a footnote to article 358 of his Disquisitions Arithmeticae (1801), the result on biquadratic period has apparently not been published by him. Here is a Google translation of this fragment:

Cubic: Let $4p = a^2+27b^2$, so that: $\frac{a}{\sqrt{4p}} = cos\varphi, \frac{b\sqrt{27}}{\sqrt{4p}} = sin\varphi$. Then the period of order $\frac{1}{3}(p-1)$ is: $$-\frac{1}{3}+\frac{2}{3}cos\frac{1}{3}\varphi \sqrt{p}$$Biquadratic: Let $p = a^2+4b^2$, so that: $\frac{a}{\sqrt{p}} = cos\varphi, \frac{2b}{\sqrt{p}} = sin\varphi$. Then the period of order $\frac{1}{4}(p-1)$ is: $$-\frac{1}{4}+\frac{1}{4}\sqrt{p}+\frac{1}{2}\sqrt{p}\cdot cos\frac{1}{2}\varphi = \prod$$, and: $${\prod}^0 + i\prod'-\prod''- i\prod''' = \sqrt{p}\cdot (\frac{a+b\sqrt{-4}}{a-b\sqrt{-4}})^{\frac{1}{4}}$$

As far as i understand, a "Gaussian period" of $\frac{1}{4}(p-1)$ terms is a complex exponential sum $\sum e^\frac{2\pi in}{p}$ when $n$ goes through all the quartic residues modulo $p$. Although Gauss doesn't define ${\prod}^0, \prod',\prod'',\prod'''$, i believe that ${\prod}^0$ represents a complex exponential sum over values of $n$ which belong to the subgroup of quartic residues modulo $p$ (subgroup of the larger group of invertible residues modulo $p$), and $\prod',\prod'',\prod'''$ are complex exponential sums over its cosets, arranged according to some order. One can see that Gauss weighted ${\prod}^0, \prod',\prod'',\prod'''$ by the four units in the Gaussian integers $+1,+i,-1,-i$, and then summed them up.

Indirectly connected with this result is Gauss's footnote to article 358 of D.A, which includes the result from his 1805 fragment as well as several other corollaries:

Corollary: Let $\epsilon$ be the root of the equation $x^3-1=0$ and we will have $(p+\epsilon p'+{\epsilon}^2p'')^3 = n(M+N\sqrt{-27})/2$. Let $M/\sqrt{4n} = cos\phi, N\sqrt{27}/\sqrt{4n} = sin\phi$ and as a result $$p = -\frac{1}{3}+\frac{2}{3}cos\frac{1}{3}\phi \sqrt{n}$$

Note that here Gauss denotes the prime number by $4n = M^2+27N^2$ (the prime number is $n$), and the Gaussian period by $p$. The result $$p+\epsilon p'+{\epsilon}^2p'' = (n(M+N\sqrt{-27})/2)^{\frac{1}{3}}$$ for the cubic case is analogous to the summation of ${\prod}^0 + i\prod'-\prod''- i\prod'''$ (for the biquadratic case), since $i$ is a root of the equation $x^4-1=0$.

**Questions**

I'm aware that Gauss sums and Gaussian periods are intimately connected, and according to the survey article "THE DETERMINATION OF GAUSS SUMS" by Bruce C. Berndt and Ronald J. Evans, in the D.A and in his two articles on biquadratic residues, Gauss determined cubic and quartic Gauss sums. However, i can't see how the two identities for the sums $p+\epsilon p'+{\epsilon}^2p''$ and ${\prod}^0 + i\prod'-\prod''- i\prod'''$ are connected to the cubic and quartic Gauss sums (which don't involve weighting by $\epsilon$ or $i$), nor did i find any article that references this particular result of Gauss. Therefore, i will sum up the main content of my question:

- Are those identities an easy corollary to the determination of cubic and quartic Gauss sums? or maybe there are additional inherent difficulties to imply them from the values of Gauss sums? In any case, i'd like to get some guidelines on how to move from the values of Gauss sums to those particular identities.
- If the answer is too long, i'd also be glad if anyone can give a link to a source that discusses those identities. For me linking to such a source can be an alternative answer, since i didn't find any article that refers to those identities.

Any useful comment will be blessed!