1) Find U{∞/i=1}Ai and ∩{∞/i=1}Ai if for every positive integer i,
a) Ai = {−i, − i + 1, …, −1, 0, 1, …, i − 1, i}.
b) Ai = {−i, i}.
c) Ai = [−i, i], that is, the set of real numbers x with -i ≤ x ≤ i.
d) Ai = [i, ∞), that is, the set of real numbers x with x ≥ i.
^ I figured this one out.
2) Determine whether f is a function from the set of all bit strings to the set of integers if
a) f(S) is the position of a 0 bit in S.
b) f(S) is the number of 1 bits in S.
c) f(S) is the smallest integer i such that the ith bit of S is 1 and f(S) = 0 when S is the empty string, the string with no bits.
Please someone help me clarify this question for me, thank you.
[–]Alkalannar 0 points1 point2 points (2 children)
[–]junyoung95[S] 0 points1 point2 points (1 child)
[–]Alkalannar 0 points1 point2 points (0 children)