are_relatively_prime

mathtools.are_relatively_prime(argument)

Is true when argument is an iterable collection of relative primes. Otherwise false.

>>> import abjad
>>> abjad.mathtools.are_relatively_prime([13, 14, 15])
True
>>> abjad.mathtools.are_relatively_prime([13, 14, 15, 16])
False
>>> abjad.mathtools.are_relatively_prime('text')
False

Returns true when argument is empty:

>>> abjad.mathtools.are_relatively_prime([])
True

Returns true or false.