Find the sum of all three-digit numbers in the record of which only numbers 1 and 3 are included?

Find all three-digit numbers that contain 1 and 3.

The most obvious numbers are 111 and 333.

Then we take one three and shift it: 311, 131, 113.

Then one 1: 133, 313, 331.

There are no more numbers. We find the amount:

111 + 333 + 311 + 131 + 113 + 133 + 313 + 331 = 1776



One of the components of a person's success in our time is receiving modern high-quality education, mastering the knowledge, skills and abilities necessary for life in society. A person today needs to study almost all his life, mastering everything new and new, acquiring the necessary professional qualities.