Arnold's Challenges

Engari ka taea ēnei reo:

Here are five challenges that build on the ideas you’ve been working with. You might like to do one a day... The first one of each set should be fairly easy, but they get harder. You can type in your answer. What do you get out of this? Just the warm feeling you get when you know you've solved one of Arnold's challenges, and the satisfaction of knowing that you've mastered a deep idea from computer science.

Enjoy the challenges!

Suppose there were 6 cards instead of 5. What is the pattern of "yes" and "no" that you’d use to have 42 dots visible? Type your answer into the following box by typing the sequence of yes and nos with a comma between each one, and no spaces; for example, the number two would be "no,no,no,no,yes,no" (without the inverted commas).

Suppose there are 8 cards instead of 5. How would you represent the number 96? Give your answer by typing a 1 if the card is visible, and 0 if it isn’t. For example, the number 3 would be typed as "00000011". As an aside, this is a common way to write numbers in binary representation - typing 0 and 1 is simpler than yes and no.

What is the smallest number of dots that Arnold could represent with 8 cards?

What is the largest number of dots that Arnold could represent with 8 cards?

If we use 0 for a card's dots being hidden, and 1 for the dots being visible, how many dots would you get with the binary number 1111111111?

Correct! Great work!

Sorry, that is incorrect.

Please enter an answer.