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”).

A172233
Positive numbers of form 2^m - 2^l - 3*2^k, m>l>k>=0.
1
0, 1, 2, 3, 4, 5, 6, 8, 9, 10, 11, 12, 13, 16, 18, 20, 21, 22, 24, 25, 26, 27, 29, 32, 36, 40, 42, 44, 45, 48, 50, 52, 53, 54, 57, 58, 59, 61, 64, 72, 80, 84, 88, 90, 93, 96, 100, 104, 106, 108, 109, 114, 116, 117, 118, 121, 122, 123, 125, 128, 144, 160
OFFSET
1,3
EXAMPLE
2^7 - 2^5 - 3*2^2 = 128-32-12 = 84, so 84 is in sequence.
PROG
(PARI) v=vector(10000); k=1; for(v2=2, 50, for(v1=1, v2-1, for(v0=0, v1-1, t=2^v2-3*2^v0-2^v1; v[k++]=t))); vecsort(v)
CROSSREFS
Cf. A023758.
Sequence in context: A023749 A022556 A250482 * A189891 A032798 A195122
KEYWORD
nonn
AUTHOR
Ralf Stephan, Nov 20 2010
STATUS
approved