OFFSET
1,1
COMMENTS
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000
EXAMPLE
10 is a term since its binary representation is 1010 and both its second and last bits are 0. - Amiram Eldar, Sep 01 2020
MATHEMATICA
Select[Range[2, 125], (d = IntegerDigits[#, 2])[[2]] == d[[-1]] &] (* Amiram Eldar, Sep 01 2020 *)
CROSSREFS
KEYWORD
nonn,base
AUTHOR
N. J. A. Sloane, Oct 12 2010
STATUS
approved