MathDB
Diophantine equation: n!+An = n^k

Source: Austrian Federal Competition for Advanced Students 2012, #2

May 23, 2012
modular arithmeticnumber theorynumber theory proposed

Problem Statement

Determine all solutions (n,k)(n, k) of the equation n!+An = n^k with n,k∈Nn, k \in\mathbb{N} for A=7A = 7 and for A=2012A = 2012.