MathDB
p+q-pq=154, p,q prime (Slovenia 1997 4th Grade P1)

Source:

May 3, 2021
Diophantine equationnumber theory

Problem Statement

Marko chose two prime numbers aa and bb with the same number of digits and wrote them down one after another, thus obtaining a number cc. When he decreased cc by the product of aa and bb, he got the result 154154. Determine the number cc.