I have a set $S$ which contains angles (in degrees) from $1$ to $179$, excluding $90$.
I want to find a summation of $\tan A\tan B$, where $A,B\in S$, and $A\ne B$.
So basically, this summation contains:$\tan 1\tan 2 + \tan 1\tan 3... \tan1 \tan 179 + \tan 2\tan 3... \tan 2\tan 179.... \tan 178\tan 179 \text{, i.e., summation of all possible ways of selecting $2$ elements from that set.}$
The same thing is to be done for $3$ at a time as well. All the angles are in degrees.
How could I go about this?
A friend and I were randomly coding something and tried compiling this which gave us an answer of $-5310.\overline{3}$. We were intrigued by this because the answer ends with an endless repeating decimal, and hence is a rational number, whereas all values of $\tan x, x\in S$ are irrational excluding $45$ and $135$.
Does anyone have any clue how we could approach actually solving this?
and my apologies for tan 45 and tan135, it was an error on my part
– Kavin Upreti Sep 24 '24 at 05:48I'll try factoring and seeing if I get any clues
– Kavin Upreti Sep 24 '24 at 07:05