OFFSET
1,1
EXAMPLE
a(12) = 7 because A002808(12) = 21 and the equation x^21 + (x+7)^21 = (x+8)^21 (mod 21)has no solution.
MAPLE
for n from 1 to 120 do: i:=0:for k from 1 to 500 while(i=0) do :ii:=0:for x from 0 to n-1 do:if x^n+(x+k)^n -(x+k+1)^n mod n =0 then ii:=ii+1:else fi:od: if ii=0 then i:=1:printf(`%d, `, k):else fi:od:od:
CROSSREFS
KEYWORD
nonn
AUTHOR
Michel Lagneau, Nov 16 2011
STATUS
approved