MathDB
for each prime p>5 exists n such p^n ends in 001 in decimal representation.

Source: 1996 Estonia National Olympiad Final Round grade 12 p4

March 11, 2020
decimal representationprimesPower

Problem Statement

Prove that for each prime number p>5p > 5 there exists a positive integer n such that pnp^n ends in 001001 in decimal representation.