R(0), which is linear in the number of times B(0) is pressed.
R(1), which is linear in the number of times B(1) is pressed.
Linearity is an unnecessarily strong assumption here, “monotonically increasing” will do.
Linearity is an unnecessarily strong assumption here, “monotonically increasing” will do.