Under OEIS A001969, an Evil number has an even number of 1's in its binary expansion. First 6 Evil numbers are 0, 3, 5, 6, 9, 10.
Evil(n, gmp = TRUE)
the number of first
a vector of length
n containing first entries from the sequence.
## generate first 20 Evil numbers print(Evil(20))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.