First time here? Check out the FAQ!
answered 2012-01-21 10:44:54 +0100
Does the \sage command do what you want?
\sage
%latex Did you know that $20! = \sage{factorial(20)}$?