The environment of AGNs and the activity degree of their surrounding galaxies