183k views
0 votes
How many zeroes do we write when we write all the integers 1 to 243 in base 3?

1 Answer

3 votes

Answer:

289 numbers

Explanation:

Above you will find the list of integers from 1 to 243 in base 3:

(1, 2, 10, 11, 12, 20, 21, 22, 100, 101, 102, 110, 111, 112, 120, 121, 122, 200, 201, 202, 210, 211, 212, 220, 221, 222, 1000, 1001, 1002, 1010, 1011, 1012, 1020, 1021, 1022, 1100, 1101, 1102, 1110, 1111, 1112, 1120, 1121, 1122, 1200, 1201, 1202, 1210, 1211, 1212, 1220, 1221, 1222, 2000, 2001, 2002, 2010, 2011, 2012, 2020, 2021, 2022, 2100, 2101, 2102, 2110, 2111, 2112, 2120, 2121, 2122, 2200, 2201, 2202, 2210, 2211, 2212, 2220, 2221, 2222, 10000, 10001, 10002, 10010, 10011, 10012, 10020, 10021, 10022, 10100, 10101, 10102, 10110, 10111, 10112, 10120, 10121, 10122, 10200, 10201, 10202, 10210, 10211, 10212, 10220, 10221, 10222, 11000, 11001, 11002, 11010, 11011, 11012, 11020, 11021, 11022, 11100, 11101, 11102, 11110, 11111, 11112, 11120, 11121, 11122, 11200, 11201, 11202, 11210, 11211, 11212, 11220, 11221, 11222, 12000, 12001, 12002, 12010, 12011, 12012, 12020, 12021, 12022, 12100, 12101, 12102, 12110, 12111, 12112, 12120, 12121, 12122, 12200, 12201, 12202, 12210, 12211, 12212, 12220, 12221, 12222, 20000, 20001, 20002, 20010, 20011, 20012, 20020, 20021, 20022, 20100, 20101, 20102, 20110, 20111, 20112, 20120, 20121, 20122, 20200, 20201, 20202, 20210, 20211, 20212, 20220, 20221, 20222, 21000, 21001, 21002, 21010, 21011, 21012, 21020, 21021, 21022, 21100, 21101, 21102, 21110, 21111, 21112, 21120, 21121, 21122, 21200, 21201, 21202, 21210, 21211, 21212, 21220, 21221, 21222, 22000, 22001, 22002, 22010, 22011, 22012, 22020, 22021, 22022, 22100, 22101, 22102, 22110, 22111, 22112, 22120, 22121, 22122, 22200, 22201, 22202, 22210, 22211, 22212, 22220, 22221, 22222, 100000)

If you count them, you will find that there are 289 numbers in total!

User Janica
by
7.9k points

No related questions found

Welcome to QAmmunity.org, where you can ask questions and receive answers from other members of our community.

9.4m questions

12.2m answers

Categories