Open in CoCalc with one click!
1
\documentclass{article}
2
\title{Title of Document}
3
\author{Name of Author}
4
\usepackage{sagetex}
5
6
\begin{document}
7
\maketitle
8
9
It is $2016=\sage{factor(2016)}$!
10
11
\end{document}
12