Help for this page
Select Code to Download
Select
or
download this
/^(\d)(?{local ($x, $c) = ($^N, 0)}) ((\d)(?(?{$c ++; $^N == $x + $c})|\A))+$/x