Jump to content

Talk:Rare numbers: Difference between revisions

→‎the 2nd REXX version: added a 2nd REXX version and how it was used to optimize the 3rd REXX version.
(→‎the 2nd REXX version: added the 2nd REXX version.)
(→‎the 2nd REXX version: added a 2nd REXX version and how it was used to optimize the 3rd REXX version.)
Line 165:
end
end /*while q>1*/; return $</lang>
Still pretty sluggish, &nbsp; like molasses in March.
 
 
The above REXX program was modified to generate a group of numbers which were &nbsp; '''AB''' &nbsp; (two digit) numbers
<br>concatenated with &nbsp; '''PQ''' &nbsp; (two digit) &nbsp; numbers to yield a list of four digit numbers.
 
'''AB''' &nbsp; are the 1<sup>st</sup> two digits of a &nbsp; ''rare'' &nbsp; number, &nbsp; and &nbsp; '''PQ''' &nbsp; are the &nbsp; last two digits.
 
<br>This list was sorted and the duplicates removed, &nbsp; and it formed a list of &nbsp; (left 2 digits abutted with the right 2 digits)
<br>numbers that every &nbsp; ''rare'' &nbsp; number must have &nbsp; (except for the first &nbsp; ''rare'' &nbsp; number &nbsp; ('''65'''), &nbsp; which is found the &nbsp;''hard''
<br>(slow) &nbsp; way.
Cookies help us deliver our services. By using our services, you agree to our use of cookies.