Problem

Source: Third Saudi Arabia JBMO TST 2019, P2

Tags: number theory



Solve in non-negative integers the equation $125.2^n-3^m=271$