# An algebra problem by Mauren Mark Mediante

Algebra Level 3

Let AB and CD be the smallest possible two consecutive prime numbers with digits A, B, C and D, such that the value of $A+B+C+D$ is a prime number (A and C may be equal). Find the value of $(A+C)^2 + (B+D)^2 + A + D$.

×