%I
%S 4,4,9,16,25,36,49,64,16,100,30,144,169,196,225,100,289,324,361,400,
%T 441,484,102,576,67,121,729,784,230,410,961,485,1089,1156,61,552,163,
%U 1444,485,1600,1681,737,1849,893,372,571,840,1134,178,2500,809,2704
%N Smallest k>n such that n^2+n+1 divides k^2+k+1.
%o (PARI) for(n=1,100,s=n+1; while((s^2+s+1)%(n^2+n+1)>0,s++); print1(s,","))
%K easy,nonn
%O 1,1
%A _Benoit Cloitre_, May 31 2002
