olymmath

USAJMO 2018 Problem 1

  • Day 1

For each positive integer nn , find the number of nn -digit positive integers that satisfy both of the following conditions:

  • no two consecutive digits are equal, and
  • the last digit is a prime.

Dataset text AI-MO AoPS. Quoted with source.

Solutions

No solution is on olymmath yet. Official and human solutions come first when they arrive. AI solutions come after them, with a label.

Add a solution

Locator usajmo/2018/p1 · Tag 5YEDYQGK5X · Edit this page on GitHub · Keys: j next, k previous