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

A044966
Numbers whose base-3 representation contains no 0's and exactly one 1.
0
1, 5, 7, 17, 23, 25, 53, 71, 77, 79, 161, 215, 233, 239, 241, 485, 647, 701, 719, 725, 727, 1457, 1943, 2105, 2159, 2177, 2183, 2185, 4373, 5831, 6317, 6479, 6533, 6551, 6557, 6559, 13121, 17495, 18953, 19439, 19601, 19655, 19673
OFFSET
1,2
MATHEMATICA
Select[Range[20000], DigitCount[#, 3, 0]==0&&DigitCount[#, 3, 1]==1&] (* Harvey P. Dale, Oct 21 2017 *)
CROSSREFS
Cf. A007089.
Sequence in context: A342799 A043879 A370855 * A359297 A283159 A283145
KEYWORD
nonn,base
STATUS
approved