Find all integers that are between 10 and 15 such that they
Find all integers that are between -10 and 15, such that they are congruent to 3 modulo 5. Find gcd (123, 277) and gcd (45, 100). Determine whether the following functions are one-to-one (injective) and onto (subjective): f : R rightarrow R, f (x) = 1 - 2x^2. f : R rightarrow R, f (x) = 3x^5. Describe an algorithm that finds the maximum (largest) integral in the list a_1, a_2, . . . , a_n. list all steps used to find 9 in the list 2, 3, 5, 6, 7, 8, 9, 14,
Solution
The answer to the 1st question is:
3 mod 5 =3
so numbers between -10 and 15 leaving reminder 3 are -8,-3,3,8,13
-8,-3,3,8,13 when divided by 5 leave remainder 3
