1 | initial version |
Converting to algebraic number and computing its radical expression does the trick here:
s = 7/6528*(103*sqrt(sqrt(17) + 17)*(sqrt(17) - 17) + 252*sqrt(17)*sqrt(-sqrt(17) + 17))/(sqrt(sqrt(17) + 17)*(sqrt(17) - 17))
QQbar(s).radical_expression()
2 | No.2 Revision |
Converting expession to an algebraic number and computing its radical expression does the trick here:
s = 7/6528*(103*sqrt(sqrt(17) + 17)*(sqrt(17) - 17) + 252*sqrt(17)*sqrt(-sqrt(17) + 17))/(sqrt(sqrt(17) + 17)*(sqrt(17) - 17))
QQbar(s).radical_expression()
print( QQbar(s).radical_expression() )