Write the n-th (odd) binary palindrome in binary. If there are an even number of digits, then combine the middle two digits into one digit. If there are an odd number of digits, then double the middle digit. a(n) is the decimal result.
A162749
Write the n-th (odd) binary palindrome in binary. If there are an even number of digits, then combine the middle two digits into one digit. If there are an odd number of digits, then double the middle digit. a(n) is the decimal result.
Terms
- a(0) =3a(1) =1a(2) =9a(3) =15a(4) =5a(5) =7a(6) =33a(7) =45a(8) =51a(9) =63a(10) =17a(11) =21a(12) =27a(13) =31a(14) =129a(15) =153a(16) =165a(17) =189a(18) =195a(19) =219a(20) =231a(21) =255a(22) =65a(23) =73a(24) =85a(25) =93a(26) =99a(27) =107a(28) =119a(29) =127
External references
- oeis: A162749