title: Create algorithm in r to find the sum of some specific numbers
body: <p>Please i have a question, i've been trying to generate a code for this but it doesn't come to my mind a way to do it.</p>
  
  <p>So i need to build a graph, and the values should go like this:</p>
  
  <pre><code>1  -  (1*5) + 600
  2  -  (2*5) + 600
  3  -  (3*5) + 600
  .....
  .....
  .....
  15 -  (15*5) + 600
  16 -  (16*5) + (600*2)
  17 -  (17*5) + (600*2)
  .....
  .....
  31 -  (31*5) + (600*3)
  31 -  (32*5) + (600*3)
  </code></pre>
  
  <p>And so on, till n is 10000.
  So, starting from 1, then 16, then 31, 46 and so on +15. It's a little bit difficult to generate it for me. The part of multiplying 600.</p>
  
  <p>Any help would be appreciated.</p>
  
  <pre><code>study_size&lt;-seq(1,1000,1) 
  
  for (i in study_size ) { 
  element&lt;-(n*5) + 600 
     } 
  </code></pre>