OFFSET
0,3
COMMENTS
First differences of A206918.
LINKS
FORMULA
a(n) = (3/8)*2^(n+floor((n+1)/2)).
From Colin Barker, May 31 2013: (Start)
a(n) = 8*a(n-2) for n > 3.
G.f.: -x*(4*x^2+3*x+1) / (8*x^2-1). (End)
From Amiram Eldar, Feb 20 2026: (Start)
Sum_{n>=1} 1/a(n) = 31/21.
Sum_{n>=1} (-1)^(n+1)/a(n) = 5/7. (End)
EXAMPLE
a(0) = 0, since there is no binary palindrome 2^(-1) <= p < 2^0.
a(3) = 12, since 2^2 <= p < 2^3 for p = 5 and p = 7.
MATHEMATICA
LinearRecurrence[{0, 8}, {0, 1, 3, 12}, 30] (* Amiram Eldar, Feb 20 2026 *)
CROSSREFS
KEYWORD
nonn,base,easy
AUTHOR
Hieronymus Fischer, Feb 18 2012
EXTENSIONS
More terms from Colin Barker, May 31 2013
STATUS
approved
