This website contains problems from math contests. Problems and corresponding tags were obtained from the Art of Problem Solving website.

Tags were heavily modified to better represent problems.

AND
OR
NO

Found problems: 1

For each positive integer $n$, find the number of $n$-digit positive integers that satisfy both of the following conditions: [list] [*] no two consecutive digits are equal, and [*] the last digit is a prime. [/list]