login
A174417
Nonprimes that contain digits 0 and 1 only.
2
1, 10, 100, 110, 111, 1000, 1001, 1010, 1011, 1100, 1101, 1110, 1111, 10000, 10001, 10010, 10011, 10100, 10101, 10110, 11000, 11001, 11010, 11011, 11100, 11101, 11110, 11111, 100000, 100001, 100010, 100011, 100100, 100101, 100110, 100111
OFFSET
1,2
COMMENTS
a(n) = binary expansion of numbers A174416(n) (i.e. numbers whose binary expansion is a decimal nonprime).
LINKS
MATHEMATICA
Select[Sort[Flatten[Table[FromDigits/@(Join[{1}, #]&/@Tuples[{1, 0}, n]), {n, 0, 5}]]], !PrimeQ[#]&] (* Harvey P. Dale, Dec 26 2015 *)
CROSSREFS
Sequence in context: A248040 A034088 A169664 * A169666 A169662 A124252
KEYWORD
nonn,base
AUTHOR
Jaroslav Krizek, Mar 19 2010
EXTENSIONS
Keyword base added by Reinhard Zumkeller, Mar 31 2010
STATUS
approved