Thue-Morse: Difference between revisions

9 bytes removed ,  10 months ago
m
(add RPL)
m (→‎{{header|11l}}: popcount())
Line 15:
 
<syntaxhighlight lang="11l">F thue_morse_digits(digits)
R (0 .< digits).map(n -> bin(n).countpopcount(‘1’) % 2)
 
print(thue_morse_digits(20))</syntaxhighlight>
1,463

edits