|
|
A193745
|
|
Smallest k such that k*n! +1 is an n-th power.
|
|
0
|
|
|
|
OFFSET
|
1,2
|
|
LINKS
|
|
|
EXAMPLE
|
a(3) = 57 because 57*3!+1 = 343 = 7^3.
|
|
MATHEMATICA
|
a={}; Do[k = 2; While[ !IntegerQ[(k^n - 1)/n!], k++ ]; AppendTo[a, (k^n-1)/n!], {n, 1, 10}]; a
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|