\documentclass{jarticle}
\usepackage{createsudoku}

\begin{document}

\setsudrandom{1001}

\generategrid

\end{document}
