bool anyPrime(int a, int b) { if(b < a) return false; else if(prime(a)) return true; else return anyPrime(a+1, b); }