OFFSET
1,1
LINKS
Robert Israel, Table of n, a(n) for n = 1..10000
MAPLE
sort([seq(seq(3^d-1-add(3^j, j=s), s=combinat:-choose([$0..(d-1)], 3)), d=3..8)]); # Robert Israel, Mar 29 2023
MATHEMATICA
Select[Range[1500], DigitCount[#, 3, 0]==0&&DigitCount[#, 3, 1]==3&] (* Harvey P. Dale, Feb 27 2023 *)
CROSSREFS
KEYWORD
nonn,base
AUTHOR
STATUS
approved