Say I have $b = 010010$, then the set $S = \{2,5\}$ represents $b$ by marking positions where the digit is $1$. Is there a name for this representation? How would I go about formally writing a function/transformation that converts all $b \rightarrow S$ or $S \rightarrow b$? Thank you!
2026-04-06 04:09:22.1775448562
Bumbble Comm
On
What is this set representation of binary numbers called, when the set elements are positions where the digit are 1?
52 Views Asked by Bumbble Comm https://math.techqa.club/user/bumbble-comm/detail At
2
There are 2 best solutions below
0
Bumbble Comm
On
In computer science, it is called a bit array, or bit map, bit set, bit string, or bit vector.
Related Questions in FUNCTIONS
- Functions - confusion regarding properties, as per example in wiki
- Composition of functions - properties
- Finding Range from Domain
- Why is surjectivity defined using $\exists$ rather than $\exists !$
- What are the functions satisfying $f\left(2\sum_{i=0}^{\infty}\frac{a_i}{3^i}\right)=\sum_{i=0}^{\infty}\frac{a_i}{2^i}$
- Lower bound of bounded functions.
- Does there exist any relationship between non-constant $N$-Exhaustible function and differentiability?
- Given a function, prove that it's injective
- Surjective function proof
- How to find image of a function
Related Questions in ELEMENTARY-SET-THEORY
- how is my proof on equinumerous sets
- Composition of functions - properties
- Existence of a denumerble partition.
- Why is surjectivity defined using $\exists$ rather than $\exists !$
- Show that $\omega^2+1$ is a prime number.
- A Convention of Set Builder Notation
- I cannot understand that $\mathfrak{O} := \{\{\}, \{1\}, \{1, 2\}, \{3\}, \{1, 3\}, \{1, 2, 3\}\}$ is a topology on the set $\{1, 2, 3\}$.
- Problem with Cartesian product and dimension for beginners
- Proof that a pair is injective and surjective
- Value of infinite product
Related Questions in TERMINOLOGY
- The equivalent of 'quantum numbers' for a mathematical problem
- Does approximation usually exclude equality?
- Forgot the name of a common theorem in calculus
- Name of some projection of sphere onto $\mathbb{R}^2$
- Is there a name for this operation? $f(a, b) = a + (1 - a)b$
- When people say "an algebra" do they always mean "an algebra over a field"?
- What is the term for "in one $n$-space"?
- The product of disjoint cycles
- What about the 'geometry' in 'geometric progression'?
- Is there an "inverted" dot product?
Related Questions in BINARY
- What is (mathematically) minimal computer architecture to run any software
- Produce solutions such that $k$&$x$ $=$ $k$,in a range ($0$,$n$)
- Solve an equation with binary rotation and xor
- Number of binary sequences with no consecutive ones.
- Recurrence with $\lfloor n/2 \rfloor$
- Converting numbers to different bases
- Why does the decimal representation of (10^x * 10^y) always suffix the same representation in binary?
- Period of a binary sequence
- Contradiction in simple linear regression formula
- From unary to binary numeral system
Trending Questions
- Induction on the number of equations
- How to convince a math teacher of this simple and obvious fact?
- Find $E[XY|Y+Z=1 ]$
- Refuting the Anti-Cantor Cranks
- What are imaginary numbers?
- Determine the adjoint of $\tilde Q(x)$ for $\tilde Q(x)u:=(Qu)(x)$ where $Q:U→L^2(Ω,ℝ^d$ is a Hilbert-Schmidt operator and $U$ is a Hilbert space
- Why does this innovative method of subtraction from a third grader always work?
- How do we know that the number $1$ is not equal to the number $-1$?
- What are the Implications of having VΩ as a model for a theory?
- Defining a Galois Field based on primitive element versus polynomial?
- Can't find the relationship between two columns of numbers. Please Help
- Is computer science a branch of mathematics?
- Is there a bijection of $\mathbb{R}^n$ with itself such that the forward map is connected but the inverse is not?
- Identification of a quadrilateral as a trapezoid, rectangle, or square
- Generator of inertia group in function field extension
Popular # Hahtags
second-order-logic
numerical-methods
puzzle
logic
probability
number-theory
winding-number
real-analysis
integration
calculus
complex-analysis
sequences-and-series
proof-writing
set-theory
functions
homotopy-theory
elementary-number-theory
ordinary-differential-equations
circles
derivatives
game-theory
definite-integrals
elementary-set-theory
limits
multivariable-calculus
geometry
algebraic-number-theory
proof-verification
partial-derivative
algebra-precalculus
Popular Questions
- What is the integral of 1/x?
- How many squares actually ARE in this picture? Is this a trick question with no right answer?
- Is a matrix multiplied with its transpose something special?
- What is the difference between independent and mutually exclusive events?
- Visually stunning math concepts which are easy to explain
- taylor series of $\ln(1+x)$?
- How to tell if a set of vectors spans a space?
- Calculus question taking derivative to find horizontal tangent line
- How to determine if a function is one-to-one?
- Determine if vectors are linearly independent
- What does it mean to have a determinant equal to zero?
- Is this Batman equation for real?
- How to find perpendicular vector to another vector?
- How to find mean and median from histogram
- How many sides does a circle have?
In some contexts like computation such representations are called "sparse", e.g. when representing (multivariate) polynomials. Reason is that such representations are more (memory) efficient if the objects under consideration are sparsely populated.
Similar representations are used for (large, sparsely populated) matrices.
Assuming $b\in\Bbb N_0$, You can define $$\begin{align} S:\qquad \Bbb N_0 \quad&\to\quad 2^{\Bbb N_0} \\ \quad\sum_{i\geqslant 0}b_i2^i \quad&\mapsto\quad \{i\in\Bbb N_0 / b_i = 1\} \end{align}$$ This function is well-defined because the binary representation exists and is unique.
If you want to extend it to all of $\Bbb R$, then negative numbers can be handled by representations that extend infinitely to the left, or more practical by allowing $S(b)$ to hold a special Symbol like "N" that denotes that the number is negative: $S:\Bbb R\to 2^{\Bbb Z\,\cup\,\{\text N\}}$.
In order for the representation to be well-defined, one has to exclude representations like $0.\bar 1$, so that the binary expansion remains unique.