OFFSET
1,2
EXAMPLE
a(6) = 11 because the 6 distinct primes dividing 11^11 + 1 = 285311670612 are
{2, 3, 23, 89, 199, 58367}.
MAPLE
with(numtheory):for n from 1 to 8 do:ind:=0:for k from 1 to 40 while(ind=0)
do: x:=k^k+1:y:=nops(factorset(x)):if y=n then ind:=1:printf(`%d, `, k):else
fi:od: od:
CROSSREFS
KEYWORD
nonn,hard
AUTHOR
Michel Lagneau, Jan 18 2011
STATUS
approved