login
A031459
Numbers whose base-3 representation has 3 fewer 0's than 2's.
0
26, 53, 71, 77, 79, 134, 152, 158, 160, 188, 206, 212, 214, 224, 230, 232, 236, 238, 240, 323, 377, 395, 401, 403, 431, 449, 455, 457, 467, 473, 475, 479, 481, 483, 539, 557, 563, 565, 593, 611, 617, 619, 629, 635, 637, 641, 643
OFFSET
1,1
MATHEMATICA
Select[Range@700, (s=#; Differences[Count[IntegerDigits[s, 3], #]&/@{0, 2}]=={3})&] (* Giorgos Kalogeropoulos, Jul 04 2021 *)
CROSSREFS
Cf. A007089.
Sequence in context: A335475 A043331 A023701 * A044992 A042338 A042336
KEYWORD
nonn,base
STATUS
approved