Anonymous user
Talk:Look-and-say sequence: Difference between revisions
m
→look-and-say versus run-length-encoding
(→Morris Number sequence: new section) |
|||
Line 36:
: I also added the phrase ''look and say'' (without the hyphens) so that Rosetta Code task can be found when performing a search without the punctuation between the keywords. -- [[User:Gerard Schildberger|Gerard Schildberger]] ([[User talk:Gerard Schildberger|talk]]) 02:23, 17 January 2020 (UTC)
== look-and-say versus run-length-encoding ==
I generalized the ''string of digits'' to a ''string of characters'' (for the REXX language example). There is nothing magical about decimal digits, any characters will do (but should be limited to displayable characters for obvious reasons, and a ''blank'' character becomes problematic). Also, the starting/initial number (or character string) can be specified. See the 2<sup>nd</sup> REXX output entry for a non-numeric example. -- [[User:Gerard Schildberger|Gerard Schildberger]] ([[User talk:Gerard Schildberger|talk]]) 21:29, 25 April 2020 (UTC)
|