The correct option is (B): 34.
The trinary number system uses only 3 digits, i.e., 0, 1, and 2.
So, the numbers are 1, 2, 10, 11, 12, 20, 21, 22, 100, 101, 102, 110... and so on.
So, 1 appears as the last digit in 1st, 4th, 7th... and so on. Till 100,
100 ≥ 1 + (n - 1)3
99 ≥ (n - 1)3
34 ≥ n