|
|
A132782
|
|
Numbers with at least one occurrence of '1010' in binary representation.
|
|
4
|
|
|
10, 20, 21, 26, 40, 41, 42, 43, 52, 53, 58, 74, 80, 81, 82, 83, 84, 85, 86, 87, 90, 104, 105, 106, 107, 116, 117, 122, 138, 148, 149, 154, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 180, 181, 186, 202, 208, 209, 210, 211, 212
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
COMMENTS
|
|
|
LINKS
|
|
|
MAPLE
|
q:= n-> verify([0, 1, 0, 1], Bits[Split](n), 'sublist'):
|
|
MATHEMATICA
|
Select[Range[250], SequenceCount[IntegerDigits[#, 2], {1, 0, 1, 0}]>0&] (* Requires Mathematica version 10 or later *) (* Harvey P. Dale, Jul 08 2017 *)
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,base
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|