title: Create a vector using rep() and seq()
body: <p>How to create a vector sequence of:</p>
  
  <pre><code>2 3 4 5 6 7 8 3 4 5 6 7 8 4 5 6 7 8 5 6 7 8 6 7 8 7 8
  </code></pre>
  
  <p>I tried to use:</p>
  
  <pre><code>2:8+rep(0:6,each=6)
  </code></pre>
  
  <p>but the result is:</p>
  
  <pre><code>2 3 4 5 6 7 8 3 4 5 6 7 8 9 4 5 6 7 8 9 10 .... 12 13 14
  </code></pre>
  
  <p>Please help. Thanks.</p>