Problem #PRU-65434

Problems Discrete Mathematics Set theory and logic Mathematical logic Puzzles

Problem

It is known that \(AA + A = XYZ\). What is the last digit of the product: \(B \times C \times D \times D \times C \times E \times F \times G\) (where different letters denote different digits, identical letters denote identical digits)?