Yellowstone sequence: Difference between revisions
Content added Content deleted
m (→vertical histogram plot: optimized the multiple IF classes.) |
m (→vertical histogram plot: changed the output (histogram).) |
||
Line 953: | Line 953: | ||
/*──────────────────────────────────────────────────────────────────────────────────────*/ |
/*──────────────────────────────────────────────────────────────────────────────────────*/ |
||
gcd: parse arg x,y; do until y==0; parse value x//y y with y x; end; return x</lang> |
gcd: parse arg x,y; do until y==0; parse value x//y y with y x; end; return x</lang> |
||
{{out|output|text= when using the input: <tt> |
{{out|output|text= when using the input: <tt> 150 </tt>}} |
||
The terminal screen size has a height of 55 characters (including values), the plot is shown at three quarter scale. |
The terminal screen size has a height of 55 characters (including values), the plot is shown at three quarter scale. |
||
<pre style="font-size:75%"> |
<pre style="font-size:75%"> |
||
■ |
■ |
||
│ |
│ |
||
│ |
│ |
||
│ |
|||
│ |
|||
│ |
|||
│ |
|||
│ |
|||
│ |
|||
│ |
|||
│ |
|||
│ |
|||
│ ■ |
|||
■ │ │ |
|||
│ │ │ |
|||
│ │ │ |
|||
│ │ │ |
|||
│ │ │ |
|||
│ │ │ |
|||
│ │ │ |
|||
│ │ │ |
|||
│ │ │ |
|||
│ ■ │ │ |
|||
│ │ │ │ |
|||
│ │ │ │ |
|||
│ │ │ │ |
|||
│ │ │ │ ■ |
|||
│ │ │ │ │ |
|||
│ │ │ │ │ |
|||
│ │ │ │ ■ │ |
|||
│ │ │ │ ■ │ │ |
|||
│ ■ │ │ ■ │ │ │ │ |
|||
│ │ │ ■ │ │ │ │ │ │ |
|||
│ │ │ ■ │ ■ │ ■ ■ │ │ │ │ │ |
|||
■ │ │ │ │ │ │ ■ │ │ │ │ │ │ │ │ |
|||
│ │ │ ■ │ │ │ │ │ │ │ │ │ │ │ │ │ |
|||
│ │ │ │ │ |
■ │ ■ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ |
||
■ │ │ │ │ │ │ │ |
│ │ ■ │ │ │ ■ │ │ │ │ │ │ ■ │ │ │ │ │ │ │ │ |
||
│ │ │ │ │ │ │ │ |
│ │ │ │ │ │ ■ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ |
||
│ │ ■ │ │ │ │ │ ■ │ │ │ │ │ ■ │ │ │ │ │ │ │ │ │ │ │ |
|||
■ │ │ │ │ │■│ │■│ │││││││ │││││││││ ││││││││││││││││■│││││││││││││││││││││ |
|||
■ │ │ ■ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │■ │■│■│■│ |
|||
■ │ ■ │ │ │ │■│││ │││ │││││││ │││││││││ ││││││││││││││││││││││││││││││││││││││ |
|||
│ │ │ ■ │ ■ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │■│■││ ■│││││││ |
|||
│ │ │ │ │■ │ │││││■│││ │││││││ │││││││││■■││││││││││││││││││││││││││││││││││││││ |
|||
■ │ │ │ ■ ■ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ ■■│ │■│ ■│■││││││ ││││││││ |
|||
│ ■ │ │■│■││ │ │││││││││ │││││││ │││││││││││││││││││││││││││││││││││││││││││││││││ |
|||
■ │ │ │ │ ■ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │■│■│■│││ ■│││ │││││││││ ││││││││ |
|||
■ │ │■│ ││││││ │■│││││││││ │││││││■│││││││││││││││││││││││││││││││││││││││││││││││││ |
|||
│ │ │ │ │ ■ │ │ │ │ │ │ │ │ │ │ │ │■│ │■│ │■│││││││││ ││││ │││││││││ ││││││││ |
|||
│ │ ■■│││ ││││││ │││││││││││■│││││││││││││││││││││││││││││││││││││││││││││││││││││││││ |
|||
│ ■ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │■│■│││■│││ ■│││││││││││ ││││ │││││││││ ││││││││ |
|||
■ │ │■ │││││ ││││││■■│││││││││││││││││││││││││││││││││││││││││││││││││││││││││││││││││││││ |
|||
■ ■ │ ■ │ │ │ │ │ │ │ │ │ │■│■│ │ │■│ ■│││││││││││ ││││││││││││ ││││ │││││││││ ││││││││ |
|||
│■ │■││ │││││ ■│││││││││││││││││││││││││││││││││││││││││││││││││││││││││││││││││││││││││││││ |
|||
■ │ │ │ ■ ■ │ │ │ │ │ │ │ │ │ │■ ■│││││ │■│││ ││││││││││││ ││││││││││││ ││││ │││││││││ ││││││││ |
|||
■■││ ││││ ■│││││■││││││││││││││││││││││││││││││││││││││││││││││││││││││││││││││││││││││││││││││ |
|||
│ │ │ │ ■ │ │ │ │ ■ │ │ │ │■│ │■│■││ ││││││■│││││ ││││││││││││ ││││││││││││ ││││ │││││││││ ││││││││ |
|||
────┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴ |
|||
│ │ │ ■ │ │ │ │ │ │■│ │ │ │■│││ ■││││││ ││││││││││││ ││││││││││││ ││││││││││││ ││││ │││││││││■││││││││ |
|||
1234981156213171222231132425311825363934361494546524157485862359696751616171713717181844818191718191 |
|||
│ ■ │ ■ │ │ │ │ │ │■ │■│││ │■│■│││││ │││││││ ││││││││││││ ││││││││││││ ││││││││││││■││││■││││││││││││││││││ |
|||
54 5256 0107291336581278545456109839254709038125616729183498741036627407016102613228322844546 |
|||
│ ■ │ │ │ │ ■ │ │■│ │■││ ■│││││■│││││││││ │││││││ ││││││││││││ ││││││││││││■││││││││││││││││││││││││││││││││││││ |
|||
⚫ | |||
■ ■ │ │ │ │ ■ │ │ │ │■ ■│││■││││ ││││││││││││││││ │││││││ ││││││││││││■│││││││││││││││││││││││││││││││││││││││││││││││││ |
|||
■ │ │ │ │ │ │ │■│ ■│■│■││ │││││││││ ││││││││││││││││ │││││││■■││││││││││││││││││││││││││││││││││││││││││││││││││││││││││││││ |
|||
■ │ ■ │ │■ │ │■│■│■│││ │││││││ │││││││││ ■││││││││││││││││■│││││││││││││││││││││││││││││││││││││││││││││││││││││││││││││││││││││││ |
|||
■ │ ■ │ │■│■││ │■│││││││││ │││││││■│││││││││■│││││││││││││││││││││││││││││││││││││││││││││││││││││││││││││││││││││││││││││││││││││││││ |
|||
│ │■ ■■│■│ ││││││■■│││││││││││■│││││││││││││││││││││││││││││││││││││││││││││││││││││││││││││││││││││││││││││││││││││││││││││││││││││││││││ |
|||
────┴─┴┴──┴┴┴┴─┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴┴ |
|||
123498115621317122223113242531182536393436149454652415748586235969675161617171371718184481819171819149392111191115121111111111511116141111121613121212 |
|||
54 5256 010729133658127854545610983925470903812561672918349874103662740701610261322832284454670260040485073060819141218917251222828303723303133 |
|||
⚫ | |||
</pre> |
</pre> |
||