Talk:Rep-string: Difference between revisions

Content added Content deleted
(→‎Clarification: Alternatively ...)
Line 13: Line 13:
:# If any valid Y is found then X is a rep-string.
:# If any valid Y is found then X is a rep-string.
:Hope this helps :-) --[[User:Paddy3118|Paddy3118]] ([[User talk:Paddy3118|talk]]) 08:22, 12 May 2013 (UTC)
:Hope this helps :-) --[[User:Paddy3118|Paddy3118]] ([[User talk:Paddy3118|talk]]) 08:22, 12 May 2013 (UTC)

==Reason for update request==
Ledrug posted a great algorithm for Python that worked on the previous list of examples but would have failed on a string of all ones or all zeroes without a (very) minor tweak. I applied the tweak but thought that:
<pre>'11'
'00'</pre>
Should added to the list of mandatory test strings. --[[User:Paddy3118|Paddy3118]] ([[User talk:Paddy3118|talk]]) 04:51, 13 May 2013 (UTC)