| 1 | initial version |
You should user the subs method to substitute n by 5 in your symbolic expression:
sage: q.subs(n,5)
11592740743/1000000
Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.