OFFSET
2,5
LINKS
Antti Karttunen, Table of n, a(n) for n = 2..20000
FORMULA
EXAMPLE
For n = 4, there are no integer solutions of a^(16/a) = 4, though there are two real solutions of about 1.099997 and 43.55926.
PROG
(PARI) A056583(n) = if(2==n, 1, if(4==n, 0, if(8==n, 16, if(9==n, 27, if(isprime(n), 1, if(!(n%2) && isprime(n/2), 2*n, n)))))); \\ Antti Karttunen, Jan 22 2025
CROSSREFS
KEYWORD
nonn
AUTHOR
Henry Bottomley, Jul 03 2000
STATUS
approved
