title: generate numbers with "zeros" with a specific templete
body: <p>I need to generate a csv data file, for that I want to generate a sequence of numbers like this:</p>
  
  <pre><code>0000001
  0000002
  .
  .
  .
  1000000
  </code></pre>