Problem

Source: 2013 Saudi Arabia Pre-TST 1.2

Tags: number theory, divides, divisible



Let $x, y$ be two non-negative integers. Prove that $47$ divides $3^x - 2^y$ if and only if $23$ divides $4x + y$.