Recaman's sequence: Difference between revisions

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

edits