Given relatively prime and positive integers
![$ a_1,a_2,\ldots,a_k$](abs/img2.gif)
,
let
![$ {\Gamma}$](abs/img3.gif)
denote the set of nonnegative integers representable
by the form
![$ a_1x_1+a_2x_2+\cdots+a_kx_k$](abs/img4.gif)
, and let
![$ {\Gamma}^{\star}$](abs/img5.gif)
denote the positive integers in
![$ {\Gamma}$](abs/img3.gif)
. Let
![$ {\cal S}^{\star}(a_1,a_2,\ldots,a_k)$](abs/img6.gif)
denote the set of all
positive integers
![$ n$](abs/img7.gif)
not in
![$ {\Gamma}$](abs/img3.gif)
for which
![$ n+{\Gamma}^{\star}$](abs/img8.gif)
is contained in
![$ {\Gamma}^{\star}$](abs/img5.gif)
. The purpose
of this article is to determine an algorithm which can be used to
obtain the set
![$ {\cal S}^{\star}$](abs/img9.gif)
in the three variable case. In
particular, we show that the set
![$ {\cal S}^{\star}(a_1,a_2,a_3)$](abs/img10.gif)
has
at most two elements. We also obtain a formula for
![$ g(a_1,a_2,a_3)$](abs/img11.gif)
,
the largest integer not representable by the form
![$ a_1x_1+a_2x_2+a_3x_3$](abs/img12.gif)
with the
![$ x_i$](abs/img13.gif)
's nonnegative integers.
Received December 20 2005;
revised version received September 12 2006.
Published in Journal of Integer Sequences September 12 2006.