Question
7 and 8
Find three subsets of (1, 2, 3, 4, 5, 6, 7, 8, 9) such that the intersection of any two has size Z and the intersection of all three has size 1. Find the domain and range of these functions. the function that assigns to each pair of positive integers the first integer of the pair the function that assigns to each positive integer its largest decimal digit the function that assigns to a bit string the number of ones minus the number of zeros in the string the function that assigns to each positive integer the largest integer not exceeding the squareroot of the integer the function that assigns to a bit string the longest string of ones in the string
Explanation / Answer
7)Let A={1,2,3,4}
B={3,4,5,6}
C={1,4,5,7}
8)a)domain N×N, range N
b) domain N×N, range N
c) domain {0,1}, range Z
d) domain N, range {y/x2<=y and f(x) =y}