subject

Alex writes down a string with four digits. (since this is a string, not a number, it can start with a $0.$ for example, alex could write $0472.$) alex then feeds this string into a special counting machine, which counts the number of times the digits $0,$ $1,$ $2,$ and $3$ appear in alex's string, and then prints out the result. for example, suppose alex wrote $2322.$ the machine counts the number of times $0$ appears (which is $0$ times), the number of times $1$ appears (which is also $0$ times), the number of times $2$ appears (which is $3$ times), and the number of times $3$ appears (which is $1$ time). so the machine prints out "$0031$". as another example, if alex writes the string $0702,$ then the machine prints out "$2010$". alex wants to see if there are any four-digit strings that they can write down, so that the string the machine prints out is the same as the string that they fed into the machine. we'll call this an automatic string.
(a) prove that an automatic string cannot contain a digit that is $5$ or greater.
(b) prove that an automatic string cannot contain a $4.$
(c) prove that an automatic string cannot contain a $3.$
(d) find all automatic strings.

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 20:00
Which type of file can be used to import data into a spreadsheet?
Answers: 1
question
Computers and Technology, 25.06.2019 07:10
When you “listen” to evaluate an online message, which question should you ask?
Answers: 1
question
Computers and Technology, 25.06.2019 07:50
In addition to the four primary computer operations, today's computers typically also perform functions.
Answers: 1
question
Computers and Technology, 25.06.2019 12:00
The user needs to add a thick dark green border around a chart in powerpoint. the user can do this in chart tools by choosing?
Answers: 1
You know the right answer?
Alex writes down a string with four digits. (since this is a string, not a number, it can start with...
Questions
question
Mathematics, 31.07.2020 23:01
question
Mathematics, 31.07.2020 23:01
question
Mathematics, 31.07.2020 23:01