Negative exponent in division in Sympy

Viewed 54

I make a division

fn=n/3**(n+1)

But the view has

fn=3**(-n-1)*n

Please tell me how to force as fn=n/3**(n+1)

1 Answers

Other than modifying the printer, I can only think of symbol-trickery: make the denominator a Symbol: n/Symbol('3^{n+1}').

Related