$cosecA+cosec2A+cosec4A=cot\frac{A}{4}-cot4A$
$cosecA+cosec2A+cosec4A=cot\frac{A}{4}-cot4A$
This is not true in general. Try, for example, $A=\frac\pi3$.