FrobeniusSolve[{100, 21, 345}, 3861]