title: Generate ints over a binomial distribution with a given mean
body: <p>I'm writing code to create simulated behavior. As part of this, I know I want to simulate X events per minute. I don't want to just do x/60 events per second. Instead, I'd like to distribute these events across a binomial distribution that ends up averaging x/60. </p>
  
  <p>These are events, so we're dealing with integers only. And the distribution doesn't have to be perfect of course. Just something more realistic than a consistent N-per-second-every-second-all-day-long. </p>
  
  <p>Two questions: </p>
  
  <p>1) Is there any pseudo-code or formulas that could help me calculate these datasets better than just my own tweaking in excel? </p>
  
  <p>2) Are there any terms I'm mis-using (all of them probably) that could help me better find answers? </p>
  
  <p>Thanks!</p>