Recaman's sequence: Difference between revisions

Content added Content deleted
No edit summary
Line 3,064: Line 3,064:
println!("To generate all numbers from 0 to 1000 , one has to go to element {}" , current) ;
println!("To generate all numbers from 0 to 1000 , one has to go to element {}" , current) ;
}</syntaxhighlight>
}</syntaxhighlight>
{{OUT}}
{{Out}}
<pre>
<pre>
The first 15 numbers of the Recaman sequence are:
The first 15 numbers of the Recaman sequence are: