/**
 * This function takes two integers n and m as input and returns a tuple consisting of all numbers from 1 to n
 * that are divisible by m without leaving any remainder.
 *
 * Example:
 * getModularTuples(10, 3) => (3, 6, 9)
 * getModularTuples(15, 4) => (4, 8, 12)
 */
fun getModularTuples(n: Int, m: Int): List<Int> {

    return (1..n).filter { it % m == 0 }
}
/**
 * This function takes two integers n and m as input and returns a tuple consisting of all numbers from 1 to n
 * that are divisible by m without leaving any remainder.
 *
 * Example:
 * getModularTuples(10, 3) => (3, 6, 9)
 * getModularTuples(15, 4) => (4, 8, 12)
 */
fun getModularTuples(n: Int, m: Int): List<Int> {
/**
 * This function takes two integers n and m as input and returns a tuple consisting of all numbers from 1 to n
 * that are divisible by m without leaving any remainder.
 *
 * Example:
 * getModularTuples(10, 3) => (3, 6, 9)
 * getModularTuples(15, 4) => (4, 8, 12)
 */
fun getModularTuples(n: Int, m: Int): List<Int> {

    return (1..n).filter { it % m == 0 }
}