OFFSET
1,1
FORMULA
The ternary representations of 6, 15, and 18 are 20, 120, and 200.
MATHEMATICA
Map[#[[1]] &, Select[Map[{#, #[[1]] > 0 && #[[1]] == #[[2]] &[{Length[
StringCases[#, "2"]], Length[StringCases[#, "20"]]}] &[
IntegerString[#, 3]]} &, Range[500]], #[[2]] &]] (* Peter J. C. Moses, Mar 05 2024 *)
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Clark Kimberling, Mar 16 2024
STATUS
approved
