Recaman's sequence: Difference between revisions
→{{header|Rust}}
No edit summary |
|||
Line 3,064:
println!("To generate all numbers from 0 to 1000 , one has to go to element {}" , current) ;
}</syntaxhighlight>
{{
<pre>
The first 15 numbers of the Recaman sequence are:
|