login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A080565
Binary expansion of n has form 11**...*1.
3
3, 7, 13, 15, 25, 27, 29, 31, 49, 51, 53, 55, 57, 59, 61, 63, 97, 99, 101, 103, 105, 107, 109, 111, 113, 115, 117, 119, 121, 123, 125, 127, 193, 195, 197, 199, 201, 203, 205, 207, 209, 211, 213, 215, 217, 219, 221, 223, 225, 227, 229, 231, 233
OFFSET
1,1
COMMENTS
If n>3 is in the sequence so are 2n-1 and 2n+1.
FORMULA
a(n) = 2^floor(log[2](4*(n-1)))+2*n-1 for n>1, a(1)=3. - Antonio G. Astudillo (afg_astudillo(AT)hotmail.com), Feb 22 2003
Equals 2 * A004760(n) + 1. - Ralf Stephan, Sep 16 2003
CROSSREFS
A004755 = union of A079946 and this sequence.
A diagonal of A246830.
Sequence in context: A192854 A002236 A255682 * A164344 A002254 A356211
KEYWORD
nonn
AUTHOR
Benoit Cloitre, Feb 22 2003
STATUS
approved