Advanced Math Help with Any Problems!

Recent questions in Advanced Math
Discrete mathAnswered question
Sattelhofsk Sattelhofsk 2022-06-16

Double union notation
The Cantor set C is defined as
C = [ 0 , 1 ] n = 0 k = 0 3 n 1 ( 3 k + 1 3 n + 1 , 3 k + 2 3 n + 1 )
Does the double union of sets work like the double summation?
I start counting from n = 0 and then all of the k's.
I.e.
For n = 0...0, k goes from 0 to 0
n = 0 0 k = 0 0 = ( 1 3 , 2 3 )
For n = 1, k = 0...2.
n = 0 1 k = 0 2 = ( 1 3 , 2 3 ) ( 3 0 + 1 3 1 + 1 , 3 0 + 2 3 1 + 1 ) ( 3 1 + 1 3 1 + 1 , 3 1 + 2 3 1 + 1 ) ( 3 2 + 1 3 1 + 1 , 3 2 + 2 3 1 + 1 ) = ( 1 3 , 2 3 ) ( 1 9 , 2 9 ) ( 4 9 , 5 9 ) ( 7 9 , 8 9 ) = ( 1 3 , 2 3 ) ( 1 9 , 2 9 ) ( 7 9 , 8 9 )
For n = 2, k = 0...8
n = 0 2 k = 0 8 = ( 1 3 , 2 3 ) ( 1 9 , 2 9 ) ( 7 9 , 8 9 ) ( 3 0 + 1 3 2 + 1 , 3 0 + 2 3 2 + 1 ) ( 3 1 + 1 3 2 + 1 , 3 1 + 2 3 2 + 1 ) ( 3 2 + 1 3 2 + 1 , 3 2 + 2 3 2 + 1 ) ( 3 3 + 1 3 2 + 1 , 3 3 + 2 3 2 + 1 ) ( 3 4 + 1 3 2 + 1 , 3 4 + 2 3 2 + 1 ) ( 3 5 + 1 3 2 + 1 , 3 5 + 2 3 2 + 1 ) ( 3 6 + 1 3 2 + 1 , 3 6 + 2 3 2 + 1 ) ( 3 7 + 1 3 2 + 1 , 3 7 + 2 3 2 + 1 )   ( 3 8 + 1 3 2 + 1 , 3 8 + 2 3 2 + 1 ) =
( 1 3 , 2 3 ) ( 1 9 , 2 9 ) ( 7 9 , 8 9 ) ( 1 27 , 2 27 ) ( 4 27 , 5 27 ) ( 7 27 , 8 27 ) ( 10 27 , 11 27 ) ( 13 27 , 14 27 ) ( 16 27 , 17 27 ) ( 19 27 , 20 27 ) ( 22 27 , 23 27 ) ( 25 27 , 26 27 ) =
( 1 3 , 2 3 ) ( 1 9 , 2 9 ) ( 7 9 , 8 9 ) ( 1 27 , 2 27 ) ( 7 27 , 8 27 ) ( 19 27 , 20 27 ) ( 25 27 , 26 27 )
For n = 3, k = 0...26.

Discrete mathAnswered question
Fletcher Hays Fletcher Hays 2022-06-16

Determine whether f is a function from the set of all bit strings to the set of integers.
Qustion: 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.
I did managed to solve this, but the similar solutions for all three questions make me quite unsure about my responses.
The following are my approaches:
(a) f(S) is either a surjective or onto function, as there always is an integer matching with the location of 0 in a bit string, and 0s may have same locations despite the overall bit string being different. Though, it's unsure whether all integers will having a matching value. It is still a function as it is a surjection.
(b) f(S) is either a surjective or onto function, as there always is an integer matching with the number of 1 bits in a bit string, and different bit strings may share the same number of 1 bits. Though, is unsure whether all integers will have a matching value. It is still a function as it is a surjection.
(c) f(S) is either a surjective or onto function, as there always is an integer matching with the "earliest" location of 1 bit in a string, and different bit strings may contain the "earliest" 1 bit on the same location. Though, it is unsure whether all integers will have a matching value. It is still a function as it is a surjection.
All questions seem to have similar responses with a slightly different supporting reason. Did I make a correct approach? What is the proper way of solution, and how should I correct my errors?

Students pursuing advanced Math are constantly dealing with advanced Math equations that are mostly used in space engineering, programming, and construction of AI-based solutions that we can see daily as we are turning to automation that helps us to find the answers to our challenges. If it sounds overly complex with subjects like exponential growth and decay, don’t let advanced math problems frighten you because these must be approached through the lens of advanced Math questions and answers. Regardless if you are dealing with simple equations or more complex ones, just break things down into several chunks as it will help you to find the answers.