Talk:Look-and-say sequence: Difference between revisions

m
 
Line 38:
 
 
== look-and-say <small>versus</small> run-length-encoding ==
 
I generalized the &nbsp; ''string of digits'' &nbsp; to a &nbsp; ''string of characters'' &nbsp; (for the REXX language example). &nbsp; There is nothing magical about decimal digits, &nbsp; any characters will do &nbsp; (but should be limited to displayable characters for obvious reasons, and a &nbsp; ''blank'' &nbsp; character becomes problematic). &nbsp; Also, the starting/initial number &nbsp; (or character string) &nbsp; can be specified. &nbsp; See the 2<sup>nd</sup> REXX output entry for a non-numeric example. &nbsp; &nbsp; -- [[User:Gerard Schildberger|Gerard Schildberger]] ([[User talk:Gerard Schildberger|talk]]) 21:29, 25 April 2020 (UTC)