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

m
 
(3 intermediate revisions by 3 users not shown)
Line 22:
 
:: Thanks :-)<br>--[[User:Paddy3118|Paddy3118]] 04:59, 12 July 2010 (UTC)
 
== PicoLisp ==
 
For the Picolisp solution, what happens if input sequence has an element repeated 10 or more times? --[[User:Ledrug|Ledrug]] 03:47, 13 October 2011 (UTC)
 
== Morris Number sequence ==
 
(this is moved from a duplicate/to be deleted page, since this thread should be here) [[User:EMBee|eMBee]] ([[User talk:EMBee|talk]]) 03:51, 17 January 2020 (UTC)
 
Look-and-say is also known as Morris Number sequence. should that be added somewhere to make it easier to find? [[User:EMBee|eMBee]] ([[User talk:EMBee|talk]]) 16:20, 16 January 2020 (UTC)
 
: Yes, &nbsp; I added a sentence to the Rosetta Code task (mentioned below in another talk section) about the &nbsp; '''Morris Number sequence''', &nbsp; and another reference as well, including a book that it was referenced in. &nbsp; &nbsp; -- [[User:Gerard Schildberger|Gerard Schildberger]] ([[User talk:Gerard Schildberger|talk]]) 02:18, 17 January 2020 (UTC)
 
: I also added the phrase &nbsp; ''look and say'' &nbsp; (without the hyphens) &nbsp; so that Rosetta Code task can be found when performing a search without the punctuation between the keywords. &nbsp; &nbsp; -- [[User:Gerard Schildberger|Gerard Schildberger]] ([[User talk:Gerard Schildberger|talk]]) 02:23, 17 January 2020 (UTC)
 
 
== 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)