Jump to content

Thue-Morse: Difference between revisions

m
→‎{{header|11l}}: bits:popcount()
m (→‎{{header|11l}}: popcount())
m (→‎{{header|11l}}: bits:popcount())
Line 15:
 
<syntaxhighlight lang="11l">F thue_morse_digits(digits)
R (0 .< digits).map(n -> n.bits:popcount(n) % 2)
 
print(thue_morse_digits(20))</syntaxhighlight>
1,481

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.