Let
be an integer such that

Note that (3, 4, 5) are mutually coprime, so we can use the Chinese remainder theorem.
Starting with

we adjust to

to make computing the residues a bit easier.
• Taken modulo 3, we have

so we need to further adjust the first term by introducing the inverse of 2 modulo 3. We have

Then

• Taken modulo 4, we have

We need another inverse; we have

and so

• Taken modulo 5, we have

One more inverse:

and so

Simplifying, we have
, and by the CRT we have

which is to say
where
is an integer.
The two integers that fall between 1 and 100 occur for
; they are 31 and 31 + 60 = 91, and their sum is 31 + 91 = 122.