returnAllCoprimes

fun returnAllCoprimes(number: Long, limit: Long = number): List<Long>

Returns all co-primes starting from 1 of a number, where limit is the biggest number to be checked for coprimality.