Question 737339
My guess is n*(n-1), where n is the number of ternary digits in the number. For 6 digits n is 6 so the number of numbers that have exactly one 1 AND exactly one 2 is 30.