\def\bslash{/\mkern-4.5mu/} % for continued fractions \font\logo=logo10 \def\MP{{\logo METAPOST}} \input epsf \let\possiblyflakyepsfbox=\epsfbox \def\epsfbox#1{\hbox{\possiblyflakyepsfbox{#1}}} @f mod TeX \let\mod=\bmod \datethis @*Introduction. I'm trying to calculate a few billion Ulam numbers. This sequence $$(U_1,U_2,\ldots{})=(1,2,3,4,6,8,11,13,16,18, 26,28,36,38,47,48,53,57,62,69,\ldots{})$$ is defined by setting $U_1=1$, $U_2=2$, and thereafter letting $U_{n+1}$ be the smallest number greater than $U_n$ that can be written $U_j+U_k$ for exactly one pair $(j,k)$ with $1\le j