\begin{table}%T2
\caption{\label{tab:neigh}Environmental properties for AGNs and control samples of normal
galaxies with the same distribution in the galaxy diameter. 
The number~($N$), the
fraction~($f$) of galaxies, and the median surface density ($\Sigma$) 
with the associated errors ($\sigma$) are given for different bins in the 
number of neighbour
galaxies.}            \small
 %\centering
\par
\begin{tabular}{c|rrrrr|rrrrr|rrrrr}
\hline 
\hline
Neighbours  &  \multicolumn{5}{c|}{Sy1}  & \multicolumn{5}{c|}{Early 
Sy1} &  \multicolumn{5}{c}{Late Sy1} \\ 
&  $N$ & $f$ (\%) & $\sigma$ & $\left\langle \Sigma\right\rangle$ & $\sigma$
&  $N$ & $f$ (\%) & $\sigma$ & $\left\langle \Sigma\right\rangle$ & $\sigma$
&  $N$ & $f$ (\%) & $\sigma$ & $\left\langle \Sigma\right\rangle$ & 
$\sigma$ \\ 
\hline
   {\em all}                 & 725 & 100.0 &  $-$  &  1.8 &  0.1 & 553 & 100.0 &  $-$  &  1.9 &  0.1 & 71 & 100.0 &  $-$  & 1.6 & 0.2 \\
    $N_{\rm neigh} = 0$      & 170 &  23.0 & 2.0 &   $-$  &   $-$  & 128 &  23.1 & 2.3 &   $-$  &   $-$  & 14 &  20.0 & 6.0 &  $-$  &  $-$  \\
    $N_{\rm neigh} = 1$      & 156 &  22.0 & 2.0 &  0.9 &  0.2 & 115 &  20.8 & 2.1 &  1.1 &  0.2 & 21 &  30.0 & 7.0 & 0.6 & 0.3 \\
$2 \le N_{\rm neigh}\le10$   & 350 &  48.0 & 3.0 &  1.9 &  0.1 & 273 &  49.4 & 3.7 &  1.9 &  0.1 & 35 &  49.0 &10.0 & 1.7 & 0.2 \\  
$11 \le N_{\rm neigh} \le20$ &  33 &   4.6 & 0.8 &  4.7 &  0.1 &  26 &   4.7 & 0.9 &  4.6 &  0.1 &  1 &   1.0 & 1.0 &  $-$  &  $-$  \\ 
$21 \le N_{\rm neigh} \le30$ &   4 &   0.6 & 0.3 &  7.7 &  0.4 &   3 &   0.5 & 0.3 &  8.3 &  0.9 &  0 &   0.0 &  $-$  &  $-$  &  $-$  \\ 
   $N_{\rm neigh} > 30$      &   2 &   0.3 & 0.2 & 13.0 &  2.0 &   1 &   0.2 & 0.2 &   $-$  &   $-$  &  0 &   0.0 &  $-$  &  $-$  &  $- $ \\     
$r_{\rm max} \le 100$ kpc    &  10 &   1.4 & 0.4 & 63.0 & 24.0 &   7 &   1.3 & 0.5 & 60.0 & 21.0 &  0 &   0.0 &  $-$  &  $-$  &  $-$  \\     
\hline
Neighbours   &  \multicolumn{5}{c|}{Sy2}  & \multicolumn{5}{c|}{Early 
Sy2} &  \multicolumn{5}{c}{Late Sy2}\\ 
&  $N$ & f (\%) & $\sigma$ & $\left\langle \Sigma\right\rangle$ & $\sigma$
&  $N$ & f (\%) & $\sigma$ & $\left\langle \Sigma\right\rangle$ & $\sigma$
&  $N$ & f (\%) & $\sigma$ & $\left\langle \Sigma\right\rangle$ & 
$\sigma$ \\
\hline
     {\em all}               & 1104 & 100.0 &  $-$  &  1.6 & 0.1 & 297 & 100.0 &  $-$  &   1.9 & 0.1 & 628 & 100.0 &     &  1.5 & 0.1 \\
    $N_{\rm neigh} = 0$      &  306 &  28.0 & 2.0 &   $-$  &  $-$  &  88 &  30.0 & 4.0 &    $-$  &  $-$  & 171 &  27.0 & 2.0 &   $-$  &  $-$  \\
    $N_{\rm neigh} = 1$      &  237 &  22.0 & 2.0 &  0.8 & 0.1 &  50 &  17.0 & 3.0 &   0.8 & 0.2 & 149 &  24.0 & 2.0 &  0.8 & 0.2 \\
$2 \le N_{\rm neigh} \le10$  &  505 &  46.0 & 3.0 &  1.8 & 0.1 & 142 &  48.0 & 5.0 &   2.0 & 0.1 & 279 &  44.0 & 3.0 &  1.6 & 0.1 \\
$11 \le N_{\rm neigh} \le20$ &   28 &   2.5 & 0.5 &  5.2 & 0.2 &   8 &   3.0 & 1.0 &   5.2 & 0.3 &  14 &   2.2 & 0.6 &  5.3 & 0.3 \\
$21 \le N_{\rm neigh} \le30$ &    5 &   0.5 & 0.2 &  8.2 & 0.3 &   3 &   1.0 & 0.6 &   8.2 & 0.0 &   2 &   0.3 & 0.2 &  9.7 & 0.2 \\
   $N_{\rm neigh} > 30$      &    0 &   0.0 &  $-$  &   $-$  &  $-$  &   0 &   0.0 &  $-$  &    $-$  &  $-$  &   0 &   0.0 &  $-$  &   $-$  &  $-$  \\     
  $r_{\rm max} \le 100$ kpc  &   23 &   2.1 & 0.4 & 84.0 &64.0 &   6 &   2.0 & 0.8 & 117.0 &16.0 &  13 &   2.1 & 0.6 & 71.0 &20.0 \\  
\hline
Neighbours &  \multicolumn{5}{c|}{PGs (early)}  &  
\multicolumn{5}{c|}{UELGs (late)}  & \multicolumn{5}{c}{SFGs (late)} \\ 
&  $N$ & $f$ (\%) & $\sigma$ & $\left\langle \Sigma\right\rangle$ & $\sigma$
&  $N $& $f$ (\%) & $\sigma$ & $\left\langle \Sigma\right\rangle$ & $\sigma$
&  $N $& $f$ (\%) & $\sigma$ & $\left\langle \Sigma\right\rangle$ & 
$\sigma$ \\
\hline
    {\em all}                 & 8144 & 100.0 &     &   2.5 & 0.0 & 6955 & 100.0 &     &  1.6 &   0.0 &  4837 & 100.0 &     &  1.5 &  0.0 \\
    $N_{\rm neigh} = 0$       & 1573 &  19.3 & 0.5 &    $-$  &  $-$  & 2192 &  31.5 & 0.8 &   $-$  &    $-$  &  1749 &  36.0 & 1.0 &   $-$  &   $-$  \\
    $N_{\rm neigh} = 1$       & 1240 &  15.2 & 0.5 &   0.9 & 0.1 & 1449 &  20.8 & 0.6 &  0.8 &   0.0 &  1083 &  22.4 & 0.8 &  0.8 &  0.1 \\
$2 \le N_{\rm neigh} \le 10$  & 3996 &  49.1 & 0.9 &   2.2 & 0.0 & 2940 &  42.3 & 0.9 &  1.7 &   0.0 &  1777 &  37.0 & 1.0 &  1.6 &  0.0 \\
$11 \le N_{\rm neigh} \le 20$ &  913 &  11.2 & 0.4 &   5.1 & 0.0 &  276 &   4.0 & 0.2 &  4.7 &   0.1 &   104 &   2.2 & 0.2 &  5.0 &  0.1 \\
$21 \le N_{\rm neigh} \le 30$ &  263 &   3.2 & 0.2 &   8.3 & 0.1 &   38 &   0.5 & 0.1 &  7.8 &   0.1 &    18 &   0.4 & 0.1 &  8.1 &  0.2 \\
   $N_{\rm neigh} > 30$       &   71 &   0.9 & 0.1 &  11.8 & 0.2 &    3 &   0.0 & 0.0 & 11.3 &   0.3 &     2 &   0.0 & 0.0 & 11.2 &  0.0 \\
 $r_{\rm max} \le$ 100 kpc    &   88 &   1.1 & 0.1 &  67.0 &40.0 &   57 &   0.8 & 0.1 & 52.0 & 133.0 &   104 &   2.2 & 0.2 & 72.0 & 32.0 \\
\hline
\end{tabular} 
\end{table}