Localized primes utility