- Day 1
For each positive integer , find the number of -digit positive integers that satisfy both of the following conditions:
- no two consecutive digits are equal, and
- the last digit is a prime.
United States of America Junior Mathematical Olympiad 2018.
For each positive integer , find the number of -digit positive integers that satisfy both of the following conditions:
Problem 2 · Also USAMO 2018 Problem 1
Let be positive real numbers such that . Prove that
Let be a quadrilateral inscribed in circle with . Let and be the reflections of over lines and , respectively, and let be the intersection of lines and . Suppose that the circumcircle of meets at and , and the circumcircle of meets at and . Show that .
Problem 5 · Also USAMO 2018 Problem 4
Let be a prime, and let be integers. Show that there exists an integer such that the numbers produce at least distinct remainders upon division by .
Proposed by Ankan Bhattacharya
Karl starts with cards labeled lined up in a random order on his desk. He calls a pair of these cards swapped if and the card labeled is to the left of the card labeled . For instance, in the sequence of cards , there are three swapped pairs of cards, , , and .
He picks up the card labeled 1 and inserts it back into the sequence in the opposite position: if the card labeled 1 had card to its left, then it now has cards to its right. He then picks up the card labeled and reinserts it in the same manner, and so on until he has picked up and put back each of the cards exactly once in that order. (For example, the process starting at would be .)
Show that, no matter what lineup of cards Karl started with, his final lineup has the same number of swapped pairs as the starting lineup.