Metallic ratios: Difference between revisions
Content deleted Content added
Thundergnat (talk | contribs) m Clarify that the task is using a variant of a Lucas sequence, not exactly a Lucas sequence. |
m →{{header|REXX}}: used a smaller font size to reduce scrolling for everybody. |
||
Line 449: | Line 449: | ||
end /*m*/ /*stick a fork in it, we're all done. */</lang> |
end /*m*/ /*stick a fork in it, we're all done. */</lang> |
||
{{out|output|text= when using the default inputs:}} |
{{out|output|text= when using the default inputs:}} |
||
<pre> |
|||
Shown at three-quarter size.) |
|||
<pre style="font-size:75%"> |
|||
═════════════════════════ Lucas sequence for the platinum ratio, where B is 0 ══════════════════════════ |
═════════════════════════ Lucas sequence for the platinum ratio, where B is 0 ══════════════════════════ |
||
the first 15 elements are: |
the first 15 elements are: |
||
Line 510: | Line 512: | ||
9.10977222864644365500113714088140 |
9.10977222864644365500113714088140 |
||
</pre> |
</pre> |
||
{{out|output|text= when using the inputs of: 0 1 1 256 |
{{out|output|text= when using the inputs of: 0 1 1 256}} |
||
(Shown at three-quarter size.) |
(Shown at three-quarter size.) |
||
<pre style="font-size:75%"> |
<pre style="font-size:75%"> |
||
══════════════════════════ Lucas sequence for the golden ratio, where B is 1 ═══════════════════════════ |
══════════════════════════ Lucas sequence for the golden ratio, where B is 1 ═══════════════════════════ |