/**
 * Create a list of numbers between 'start' and 'stop' (inclusive) that are divisible by both 3 and 5.
 *
 * @param start The starting value of the range.
 * @param stop The end value of the range.
 * @return A list of numbers that are divisible by both 3 and 5 within the specified range.
 */
fun intersectionSequence(start: Int, stop: Int): List<Int> {

    val sequence = mutableListOf<Int>()
    for (num in start..stop) {
        if (num % 3 == 0 && num % 5 == 0) {
            sequence.add(num)
        }
    }
    return sequence
}
/**
 * Create a list of numbers between 'start' and 'stop' (inclusive) that are divisible by both 3 and 5.
 *
 * @param start The starting value of the range.
 * @param stop The end value of the range.
 * @return A list of numbers that are divisible by both 3 and 5 within the specified range.
 */
fun intersectionSequence(start: Int, stop: Int): List<Int> {
/**
 * Create a list of numbers between 'start' and 'stop' (inclusive) that are divisible by both 3 and 5.
 *
 * @param start The starting value of the range.
 * @param stop The end value of the range.
 * @return A list of numbers that are divisible by both 3 and 5 within the specified range.
 */
fun intersectionSequence(start: Int, stop: Int): List<Int> {

    val sequence = mutableListOf<Int>()
    for (num in start..stop) {
        if (num % 3 == 0 && num % 5 == 0) {
            sequence.add(num)
        }
    }
    return sequence
}