Function Prime_detector(num_1): If num_1 <= 1: Return False For i = 2 to sqrt(num_1): If num_1 % i == 0: Return False Return True Function Prime_finder(): For num_2 = 500 to 599: If Prime_finder(num_2): Print num_2