For which p,q is this nested radical a sum of roots of unity?
Source: Alibaba Global Math Competition 2021, Problem 19
July 4, 2021
algebrapolynomialsum of rootsroots of unityNested Radicalscollege contests
Problem Statement
Find all real numbers of the form that can be expressed as a linear combination of roots of unity with rational coefficients, where and are (possible the same) prime numbers, and is an integer, which is not a -th power.