\begin{table}%T3
\caption{\label{tab:closer}Environmental properties for AGNs and control samples of
normal galaxies with the same distribution in the galaxy diameter.
The number~($N$) of galaxies with at least one companion within 100 kpc, 
the fraction~($f$) of galaxies with the associated errors ($\sigma$)}             
\small      
%\centering
\par
\begin{tabular}{c|rrr|rrr|rrr}
\hline  
\hline 
 Neighbours &  \multicolumn{3}{c|}{Sy1}  & \multicolumn{3}{c|}{Early Sy1} &  \multicolumn{3}{c}{Late Sy1} \\  
 &  $N$ & $f$ (\%) & $\sigma$ & $N$  & $f$ (\%) & $\sigma$ &  $N$ & $f$ (\%) & $\sigma$ \\ 
 \hline
	{\em all}            &  82 &  11.0 & 1.0     &  69 &  13.0 & 2.0     &  5   &   7.0 &  3.0   \\
	 $N_{\rm neigh} = 1$ &  10 &   1.4 & 0.4     &   7 &   1.3 & 0.5     &  0   &   0.0 &  $-$  \\
         $N_{\rm neigh} = 2$ &   6 &   0.8 & 0.3     &   4 &   0.7 & 0.3     &  0   &   0.0 &  $-$  \\   
 3 $\le N_{\rm neigh} \le10$ &  53 &   7.0 & 1.0     &  47 &   9.0 & 1.0     &  4   &   6.0 &  3.0   \\  
11 $\le N_{\rm neigh} \le20$ &  10 &   1.4 & 0.4     &   9 &   1.6 & 0.5     &  1   &   1.0 &  1.0   \\  
21 $\le N_{\rm neigh} \le30$ &   3 &   0.4 & 0.2     &   2 &   0.4 & 0.2     &  0   &   0.0 &  $-$  \\  
    $N_{\rm neigh} > 30$     &   0 &   0.0 &   $-$  &   0 &   0.0 &   $-$  &  0   &   0.0 &  $-$  \\      
\hline    
Neighbours & \multicolumn{3}{c|}{Sy2}  & \multicolumn{3}{c|}{Early Sy2} &  \multicolumn{3}{c}{Late Sy2}\\  
 &  $N$ & $f$ (\%) & $\sigma$ & $N$  & $f$ (\%) & $\sigma$ &  $N $& $f$ (\%) & $\sigma$ \\
 \hline
	  {\em all}            &  101 &   9.1 & 0.9     &  35 &  12.0 &  2.0     &   52 &   8.0 &  1.0    \\
	 $N_{\rm neigh} = 1$   &   21 &   1.9 & 0.4     &   6 &   2.0 &  0.8     &   11 &   1.7 &  0.5    \\
         $N_{\rm neigh} = 2$   &   20 &   1.8 & 0.4     &   3 &   1.0 &  0.5     &   15 &   2.4 &  0.6    \\   
 3 $\le N_{\rm neigh} \le 10 $ &   48 &   4.3 & 0.6     &  20 &   7.0 &  2.0     &   22 &   3.5 &  0.7    \\
11 $\le N_{\rm neigh} \le 20 $ &    7 &   0.6 & 0.2     &   2 &   0.6 &  0.4     &    3 &   0.5 &  0.3    \\
21 $\le N_{\rm neigh} \le 30 $ &    5 &   0.4 & 0.2     &   4 &   1.3 &  0.6     &    1 &   0.1 &  0.1    \\
    $N_{\rm neigh} > 30$       &    0 &   0.0 &   $-$  &   0 &   0.0 &    $-$  &    0 &   0.0 &   $-$  \\      
\hline
Neighbours &  \multicolumn{3}{c|}{PGs (early)}  &  \multicolumn{3}{c|}{UELGs (late)}  & \multicolumn{3}{c}{SFGs (late)} \\  
 &  $N$ & $f$ (\%) & $\sigma$ & $N$  & $f$ (\%) & $\sigma$ &  $N$ & $f$ (\%) & $\sigma$ \\ 
 \hline
	 {\em all}             & 1126 &  13.8 & 0.4   & 383 &   5.5~ & 0.2  & 357 &  7.4~ & 0.4 \\
	 $N_{\rm neigh} = 1$   &   84 &   1.0 & 0.1   &  57 &   0.8~ & 0.1  & 102 &  2.1~ & 0.2 \\
         $N_{\rm neigh} = 2$   &   95 &   1.2 & 0.1   &  51 &   0.7~ & 0.1  &  81 &  1.7~ & 0.2 \\    
 3 $\le N_{\rm neigh} \le 10$  &  539 &   6.6 & 0.3   & 224 &   3.2~ & 0.2  & 139 &  2.9~ & 0.2 \\
11 $\le N_{\rm neigh} \le 20$  &  244 &   3.0 & 0.2   &  39 &   0.6~ & 0.1  &  31 &  0.6~ & 0.1 \\
21 $\le N_{\rm neigh} \le 30$  &  117 &   1.4 & 0.1   &  10 &   0.10 & 0.04 &   1 &  0.02 & 0.02 \\
    $N_{\rm neigh} > 30$       &   47 &   0.5 & 0.1  &   2 &   0.03 & 0.02 &   3 &  0.06 & 0.03 \\
\hline
\end{tabular}
\end{table}