title: Result “almost doubles” on Try It Online for Project Euler
body: <p>This code is for Project Euler Problem 1. It appears to work <a href="http://ajanse.me/asciidots/demo/" rel="nofollow noreferrer">here</a>, but on Try It Online (tio.run) the result appears to &quot;almost double&quot; (twice the expected result minus 1). It seems like every number is added twice. Is it possible to fix it?</p>
  <pre><code>`,`                              /-------\
  `,`                            .-&gt;---{+}-~-$#&amp;
  `,`                     /-------&gt;-----^  |
  `,`                    /*\     /*\    |  |
  `,`                /---~-+\/---~-+\   |  |
  `,`                |   ! |||   ! ||   |  |
  `,` .-#1000-&gt;*-{-}-*#3[%]|\*#5[%]|\*#0/  |
  `,`         |\#1/  \---/ | \---/ | |     |
  `,`         |            \-------&gt;-&gt;-----*
  `,`         \----------------------------/
  </code></pre>
  <p>Test case for smaller constant:</p>
  <pre><code>`,`                              /-------\
  `,`                            .-&gt;---{+}-~-$#&amp;
  `,`                     /-------&gt;-----^  |
  `,`                    /*\     /*\    |  |
  `,`                /---~-+\/---~-+\   |  |
  `,`                |   ! |||   ! ||   |  |
  `,` .-#10---&gt;*-{-}-*#3[%]|\*#5[%]|\*#0/  |
  `,`         |\#1/  \---/ | \---/ | |     |
  `,`         |            \-------&gt;-&gt;-----*
  `,`         \----------------------------/
  </code></pre>
  <p>(Prints 23 on Aaron, and 45 on Try It Online)</p>