Problem

Source: Baltic Way 2022, Problem 19

Tags: number theory



Find all triples $(x, y, z)$ of nonnegative integers such that $$ x^5+x^4+1=3^y7^z $$