|
|
A273245
|
|
Non-palindromic binary numbers whose reversal is a palindrome.
|
|
4
|
|
|
10, 100, 110, 1000, 1010, 1100, 1110, 10000, 10010, 10100, 11000, 11100, 11110, 100000, 100010, 100100, 101000, 101010, 110000, 110110, 111000, 111100, 111110, 1000000, 1000010, 1000100, 1001000, 1010000, 1010100, 1011010, 1100000, 1100110, 1101100, 1110000, 1111000, 1111100
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
LINKS
|
|
|
FORMULA
|
Consists of binary palindromes (A006995) times nontrivial powers of 2, that is, 2^i, i>0. - N. J. A. Sloane, May 19 2016
|
|
MAPLE
|
# see A272670 for the other subroutines
for n from 1 to 400 do
if isA272670(n) then
end if;
|
|
PROG
|
(Python)
A273245_list = [int(m) for m in (bin(n)[2:] for n in range(1, 10**4)) if m != m[::-1] and m.rstrip('0') == m[::-1].lstrip('0')] # Chai Wah Wu, May 21 2016
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,easy,base
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|