Please login with GitHub in order to save solutions and appear on the leaderboards.

Odious Numbers

An odious number is a non-negative number that has an odd number of 1s in its binary expansion.

Print all the odious numbers from 0 to 50 inclusive, each on their own line.

Numbers that are not odious are called evil numbers.

arguments holds ARGV, print() to output with a newline, write() to output without a newline.
say, signatures, and state are available without any import.