De Bruijn sequences: Difference between revisions

m
→‎{{header|REXX}}: added highlighting to the REXX section header.
m (→‎{{header|REXX}}: simplified the program, changed some comments.)
m (→‎{{header|REXX}}: added highlighting to the REXX section header.)
Line 83:
 
Programming note: &nbsp; instead of hardcoding the &nbsp; ''lastNode'' &nbsp; (that is elided from the sequence), &nbsp; the 5<sup>th</sup> to the last node could simply
<br>''not'' &nbsp; be added to the sequence.
<lang rexx>/*REXX pgm calculates the de Bruijn sequence for all pin numbers (4 digit decimals). */
$= /*initialize the de Bruijn sequence. */