First time here? Check out the FAQ!
answered 9 years ago
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