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