@MartinSleziak Indeed it seems that
trigonometric-sums is a method from analytic number theory, and is frequently used in questions about trigonometric functions, often highly off-topic (not this one). The main problem is the absence of a tag excerpt.