We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
The key is to use gray(n) = n ^ (n / 2)
gray(n) = n ^ (n / 2)
https://makecode.microbit.org/_0eFFRm9px5w0