A question of Paul Erdos and nilpotent-by-finite groups