title: Display number series with modulo in JavaScript
body: <p>I'm currently trying to display number series (for 2, 3, 4, 5, 6 and 7) in JavaScript. I was looking for the smallest number (x), which results in modulo = 1, if divided by 2, 3, 4, 5 and 6. If the same number (x) is divided by 7, id should result in modulo = 0. I'm not quite sure, if I'm explaining it correct. It should be like this: x % 2 = 1, x % 3 = 1, x % 4 = 1, x % 5 = 1, x % 6 = 1, x % 7 = 0.</p>
  
  <p>The result is 301. My code looks like this and it works fine:</p>
  
  <pre><code>var seven = 7;
  var six;
  var five;
  var four;
  var three;
  var two;
  
  while (six != 1 || five != 1|| four != 1|| three != 1|| two != 1)
  {six = seven % 6;
  five = seven % 5;
  four = seven % 4;
  three = seven % 3;
  two = seven % 2;
  console.log(seven);
  seven += 7;}
  </code></pre>
  
  <p>It displays all the numbers in the seven-series, until 301. Now, I wanted some more while-loops for the other numbers (2-6), that work the same why and show all the different numbers/steps in each series, until 301. I'm new to JavaScript and I just don't get it. I tried to modify my code, so that it should work with the other number series, but it doesn't. Or is there any other (maybe a better) way to do this? With some nested loops/functions? It only should be possible to display every number in each number series, but not all at the same time (in the end, there should be buttons, which show (by clicking them) the different number series with all the numbers/steps until 301). Thank you soso much!</p>