This Python script determines whether a given number is prime and finds prime numbers within a specified range. It includes functions to check divisibility and identify prime numbers efficiently.
For a given number, find all the numbers smaller than the number. Numbers should be divisible by 3 and also by 5.