What is the relation between these numbers?

Based on the relation between the numbers of each shape, find the number for the question mark.

1. 337
2. 339
3. 549
4. 569

Source: Iraninan Ph.D University Enterance 2017