Skip to main content

2016 AMC 12A Problem 3

Problem 3 of 25EasierAlgebra

The remainder function can be defined for all real numbers xx and yy with y0y\neq 0 by rem(x,y)=xyxy, \text{rem}(x,y)=x-y\left\lfloor \dfrac{x}{y}\right\rfloor, where xy\left\lfloor \dfrac{x}{y}\right\rfloor denotes the greatest integer less than or equal to xy.\dfrac{x}{y}. What is the value of rem(38,25)?\text{rem}\left(\dfrac{3}{8},-\dfrac{2}{5}\right)?

Answer choices

Show solution

Solution

First, xy=3825=38(52)=1516, \begin{gathered} \dfrac{x}{y}=\dfrac{\frac{3}{8}}{-\frac{2}{5}}\\ =\dfrac{3}{8}\cdot\left(-\dfrac{5}{2}\right)\\ =-\dfrac{15}{16}, \end{gathered} and 1516=1.\left\lfloor -\dfrac{15}{16}\right\rfloor=-1. Therefore rem(38,25)=38(25)(1)=3825=151640=140. \begin{gathered} \text{rem}\left(\dfrac{3}{8},-\dfrac{2}{5}\right)\\ =\dfrac{3}{8}-\left(-\dfrac{2}{5}\right)(-1)\\ =\dfrac{3}{8}-\dfrac{2}{5}\\ =\dfrac{15-16}{40}\\ =-\dfrac{1}{40}. \end{gathered} Thus, the correct answer is B.

More practice

Concepts: custom operation · floor and ceiling functions

Problem text and solution from the LIVE past-contest archive. See also the AoPS wiki page for community solutions.