Yellowstone sequence: Difference between revisions
Content added Content deleted
m (→{{header|REXX}}: added a REXX version that displays a vertical histograph (histogram) plot.) |
m (→vertical histogram plot: added a comment about a choice of showing a horizontal histogram plot.) |
||
Line 809: | Line 809: | ||
===vertical histogram plot=== |
===vertical histogram plot=== |
||
A horizontal histogram could also be shown, but it would require a taller (higher) plot with more vertical screen real estate. |
|||
<lang rexx>/*REXX program calculates any number of terms in the Yellowstone (permutation) sequence.*/ |
<lang rexx>/*REXX program calculates any number of terms in the Yellowstone (permutation) sequence.*/ |
||
parse arg m . /*obtain optional argument from the CL.*/ |
parse arg m . /*obtain optional argument from the CL.*/ |