First time here? Check out the FAQ!
answered 2016-04-06 02:57:36 +0100
You should user the subs method to substitute n by 5 in your symbolic expression:
subs
n
5
sage: q.subs(n,5) 11592740743/1000000