Problem #PRU-5161

Problems Number theory Numeral systems

Problem

The numeral system that uses base \(3\) is called ternary. Here the only digits are \(0,\) \(1\) and \(2\). Therefore the number \(3\) is written in ternary as \(10_3\). Write down the numbers \(23_{10}\) and \(156_{10}\) in ternary.