title: Modular arithmetic in VB
body: <p>I have this number x which i need to find in the (40 mod x) = 1</p>
  
  <p>a possible answer for x is 3, or 39 as it goes into the number 40 and leaves a remainder of 1.</p>
  
  <p>What kind of code would I need if I was to find all possible answers of x?</p>