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

# Pernicious Numbers

## Details

A pernicious number is a positive number where the sum of its binary expansion is a prime number.

For example, **5** is a pernicious number since
**5 = 101 _{2}** and

**1 + 1 = 2**, which is prime.

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

0 characters

**arguments**holds ARGV,

**print()**to output with a newline,

**write()**to output without a newline.

**say()**is available without any import.

Implicit output is disabled for this hole. Use

**Out-Host**or**Write-Host**for output.
ctrl + enter
or
Run