Math - Remainders - Challenge

In this lecture we looked at how to find the remainder after division and how this can be useful for decision making.

Your challenge is to imagine a 4 player game, and figure out who goes first.

Player 1 is assigned the remainder 0.
Player 2 is assigned the remainder 1.
Player 3 is assigned the remainder 2.
Player 4 is assigned the remainder 3.

To decide who goes first, find the remainder of 63 ÷ 4.

Pop your answer below and then set a new integer (to replace 63) for the next person in the chain to try.

3

72

[Edit]
The question is a little unclear as it says find the remainder… :wink:
Remainder 3 so player 4

1 Like

Is 3 the remainder of the starting player? :wink:

72

Player 1 (remainder 0).

Next number: 55

1 Like

55

Player 4 (remain 3)

Next Number: 93

1 Like

93

Player 2 (remainder 1)

Next number: 127

1 Like

127

Player 4 (remainder 3)

Next number: 24

1 Like

24

Player 1 goes first (remain 0)

Next number: 42

1 Like

The answer is :

Player 3 goes first

After that I changed the counter to 68 so player 0 could play

with calculator :

with code (in C) :