For example in 1683 he considered integer solutions of ax by 1 where a b are integers

What is the correctly punctuated version of this sentence?
For example, in 1683, he considered integer solutions of ax - by = 1 where a, b are integers.