Simplifying a simple rational function
The following code:
var('d,T')
simplify((d^(T + 1)-d)/d)
returns:
(d^(T + 1) - d)/d
Apparently, this should be simplified to:
d^T - 1
What am I doing wrong?