|
|
A175543
|
|
Nonnegative integers that, when written in binary, are palindromes with a middle run of 0's.
|
|
1
|
|
|
0, 5, 9, 17, 27, 33, 51, 65, 85, 99, 119, 129, 165, 195, 231, 257, 297, 325, 365, 387, 427, 455, 495, 513, 585, 645, 717, 771, 843, 903, 975, 1025, 1105, 1161, 1241, 1285, 1365, 1421, 1501, 1539, 1619, 1675, 1755, 1799, 1879, 1935, 2015, 2049, 2193, 2313, 2457
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,2
|
|
LINKS
|
|
|
MATHEMATICA
|
fQ[n_] := Block[{id = IntegerDigits[n, 2]}, id == Reverse@ id && id[[ Ceiling[ Length@ id/2] ]] == 0]; Select[ Range[0, 2564], fQ@# &] (* Robert G. Wilson v, Jun 27 2010 *)
|
|
CROSSREFS
|
|
|
KEYWORD
|
base,nonn
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|