Depth · one concept from first principles · step 2 of 4
A birthday trick is just 100x+y in disguise
Read the conversation below and answer the question.
Grace: Hannah! I'll guess your birthday. If I get it right, you buy me ramen; if I'm wrong, I'll buy you spaghetti. Deal?
Hannah: Sure. But how are you going to guess it?
Grace: First, multiply your birth month by and add . Then multiply that by !
Hannah: Okay.
Grace: Now add the number of your birth day!
Hannah: Done.
Grace: Subtract from that. What do you get?
Hannah: (A)
Grace: (thinking to herself: adding to (A) gives (B)) Your birthday is November , right?
Hannah: What? How did you know?
Let the birth month be and the birth day be . Write (A) and (B) as simplified expressions in and .