Search: id:A006995
Results 1-1 of 1 results found.
%I A006995 M2403
%S A006995 0,1,3,5,7,9,15,17,21,27,31,33,45,51,63,65,73,85,93,99,107,119,127,129,
%T A006995 153,165,189,195,219,231,255,257,273,297,313,325,341,365,381,387,403,
%U A006995 427,443,455,471,495,511,513,561,585,633,645,693,717,765,771,819,843
%N A006995 Numbers whose binary expansion is palindromic.
%D A006995 N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences,
Academic Press, 1995 (includes this sequence).
%H A006995 T. D. Noe, Table of n, a(n) for n=1..1000
%H A006995 Index entries for sequences related to
binary expansion of n
%F A006995 Comments from Hieronymus Fischer (Hieronymus.Fischer(AT)gmx.de), Dec
31 2008 (Start): Written as a decimal, a(10^n) has 2*n digits. For
n>1, the decimal expansion of a(10^n) starts with 22..., 23... or
24...
%F A006995 a(1000)=249903, a(10^10)=24502928886295666773.
%F A006995 An inequality valid for n>1: (2/9)*n^2oo.
%F A006995 lim inf a(n)/n^2=2/9 for n-->oo.
%F A006995 Set k:=k(n):=floor(log_2(n)), i:=i(n):=n-2^k+1, j:=j(n):=i-2^(k-1). Then
%F A006995 a(n)=2^(2k-q)+1+2^p*a(m), where p, q and m are determined as follows:
%F A006995 Case 1: If n+1=2^k, then set p=0, q=2, m=0;
%F A006995 Case 2: If 2^k