Problem

Source: Vietnam TST 2019 Day 2 P4

Tags: number theory, Diophantine equation



Find all triplets of positive integers $(x, y, z)$ such that $2^x+1=7^y+2^z$.