Maybe it was Call Control app? I'm using it now on Iphone and there is an option Block similar numbers which will block calls by the first six digits. I've previously used it on Android and it had the same option.
I could swear it had "neighborhood" in the name. I'm glad other apps are adding that functionality.