|
|
A181986
|
|
Digitally balanced numbers: ternary numbers which have the same number of 0's as 1's as 2's.
|
|
3
|
|
|
102, 120, 201, 210, 100122, 100212, 100221, 101022, 101202, 101220, 102012, 102021, 102102, 102120, 102201, 102210, 110022, 110202, 110220, 112002, 112020, 112200, 120012, 120021, 120102, 120120, 120201, 120210, 121002, 121020, 121200, 122001, 122010, 122100
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
COMMENTS
|
This is to A071925 as base 3 A007089 is to base 2 A007088. A049354 digitally balanced numbers in base 3: equal numbers of 0's, 1's, 2's, beginning 11, 15, 19, 21, 260, ... is the same sequence, but expressed in base 10. The terms of this sequence are represented directly in base 3.
|
|
LINKS
|
|
|
EXAMPLE
|
100122 is an element because it contains two each of "0" and "1" and "2".
|
|
MATHEMATICA
|
Select[FromDigits/@Flatten[Permutations/@Table[PadRight[{}, 3n, {0, 1, 2}], {n, 2}], 1], Mod[IntegerLength[#], 3]==0&]//Sort (* Harvey P. Dale, Mar 15 2020 *)
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,base
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|