title: Generate even numbers 1-4 using Math.random()?
body: <p>I would like to generate the numbers 1-4 (whole integers) using Math.random. I have only succeeded in getting doubles or large doubles, and cannot figure out how to set a limit on the minimum and maximum.</p>
  
  <p>Math.random(); = something between 0-1 as a double? </p>
  
  <p>I have seen some people suggest something like this: num = Math.random() * 60 + 25; but have no idea what that does, or how it works.</p>
  
  <p>I am not sure if this is a true question, and feel free to let me know if I should delete it.</p>
  
  <p>Edit: Is there a way to not get the numbers to repeat, yet still be random every time the program is run? </p>