Generating list sequence with a custom step in Python
<p>Okay, i'm really stuck with that one-liner.</p>

<p>Yet tried to accomplish my task with zip and map, but none of it worked i want. So my question is: can i generate a list with a custom step like this?</p>

<pre><code>&gt;&gt;wicked cool code snippet
&gt;&gt;[101, 105, 109, 115, 121]
</code></pre>

<p>The idea behind this is that i have the start of a sequence X equal to 101. 
Then i add 4, then again adding 4.
Then i add 6 to the previous result and again i add 6.</p>

<pre><code>I believe it should look like this mathematically speaking:
</code></pre>

<p>An = A1+4d,A2+4d,A3+6d, A4+6d.</p>

<p><strong>UPD</strong></p>

<p>Ok, let me make it more clear.</p>

<blockquote>
  <blockquote>
    <blockquote>
      <p>range(101, 120, 3) &lt;-Classical arithmetical progression</p>
    </blockquote>
  </blockquote>
</blockquote>

<pre><code>[101, 104, 107, 110, 113, 116, 119] &lt; - The output
</code></pre>

<p>What i need is a combination of two of them. Like add +4 to each element n-times, then add +6 to the last element of add 4 sequence n-times.</p>

<p>Hope, it's clearer now.</p>
