Skip to content / Đến nội dung
ThichHocToan.com

MathNet 2024-part-06 — 165 problems (EN–VI) Question 105

Math Olympiad Vault · MathNet 2024-part-06 — 165 problems (EN–VI)

Question 105

A four-digit integer in base 10 is friendly if its digits are four consecutive digits in any order. A four-digit integer is shy if there exist two adjacent digits in its representation that differ by 1. Compute the number of four-digit integers that are both friendly and shy.