Let $k>2$ be a positive integer such that the $k$-digit number $n_k=133\dots 3$, consisting of a digit $1$ followed by $k-1$ digits $3$ is prime. Show that $24 \mid k(k+2)$.
Source: Germany 2024, Problem 4
Tags: number theory, number theory proposed
Let $k>2$ be a positive integer such that the $k$-digit number $n_k=133\dots 3$, consisting of a digit $1$ followed by $k-1$ digits $3$ is prime. Show that $24 \mid k(k+2)$.