First let, $\oplus(a_1,a_2,\ldots,a_n)$ denote the bitwise xor of $a_1,a_2,\ldots,a_n$. Define the function $\Delta(a_1,a_2,\ldots,a_n)$ to be the maximum value of $a_i - \oplus(a_1,a_2,\ldots,a_{i-1},a_{i+1},\ldots,a_n)$ over $1 \leq i \leq n$. Is there a nice form for $\Delta$ or a way to simplify its definition?
2026-03-30 09:34:29.1774863269
A nice form of a given function
106 Views Asked by Bumbble Comm https://math.techqa.club/user/bumbble-comm/detail At
1
There are 1 best solutions below
Related Questions in NUMBER-THEORY
- Maximum number of guaranteed coins to get in a "30 coins in 3 boxes" puzzle
- Interesting number theoretical game
- Show that $(x,y,z)$ is a primitive Pythagorean triple then either $x$ or $y$ is divisible by $3$.
- About polynomial value being perfect power.
- Name of Theorem for Coloring of $\{1, \dots, n\}$
- Reciprocal-totient function, in term of the totient function?
- What is the smallest integer $N>2$, such that $x^5+y^5 = N$ has a rational solution?
- Integer from base 10 to base 2
- How do I show that any natural number of this expression is a natural linear combination?
- Counting the number of solutions of the congruence $x^k\equiv h$ (mod q)
Related Questions in SPECIAL-FUNCTIONS
- Generalized Fresnel Integration: $\int_{0}^ {\infty } \sin(x^n) dx $ and $\int_{0}^ {\infty } \cos(x^n) dx $
- Is there any exponential function that can approximate $\frac{1}{x}$?
- What can be said about the series $\sum_{n=1}^{\infty} \left[ \frac{1}{n} - \frac{1}{\sqrt{ n^2 + x^2 }} \right]$
- Branch of Math That Links Indicator Function and Expressability in a Ring
- Generating function of the sequence $\binom{2n}{n}^3H_n$
- Deriving $\sin(\pi s)=\pi s\prod_{n=1}^\infty (1-\frac{s^2}{n^2})$ without Hadamard Factorization
- quotients of Dedekind eta at irrational points on the boundary
- Sources for specific identities of spherical Bessel functions and spherical harmonics
- Need better resources and explanation to the Weierstrass functions
- Dilogarithmic fashion: the case $(p,q)=(3,4)$ of $\int_{0}^{1}\frac{\text{Li}_p(x)\,\text{Li}_q(x)}{x^2}\,dx$
Related Questions in FUNCTIONAL-EQUATIONS
- Functional equation $2f\left(\frac{x+y}{2}\right)-f(y)=f''(x)$
- How to solve the integral equation $f(x) = \int_0^x f(x-y)k(x,y)dy+g(x)$ for $f(x)$?
- Easy looking functional equation.
- Constructing a functional equation that has given solution set.
- Solution of $f(ax+b)=kf(x)$ with $k,a,b$ are real numbers
- Deriving $\sin(\pi s)=\pi s\prod_{n=1}^\infty (1-\frac{s^2}{n^2})$ without Hadamard Factorization
- Stationary Condition of Variational Iteration Method
- How to solve the functional equation $f(x + f(x +y ) ) = f(2x) + y$?
- Solution to the functional equation $f(z)=(-1)^zf(1-z)$???
- If $f(a,b)=f(a,c)f(c,b)$ for all $a,b,c$, when can we conclude $f(a,b)=g(a)/g(b)$ for some $g$?
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
Related Questions in COMBINATORIAL-GAME-THEORY
- Can Zermelo's theorem be extended to a game which always has a winner?
- Unrestricted Gomoku on a small board
- combinatorial game of sheets
- Analysis of a combinatorial game with prime numbers
- Even numbers combinatorial game
- Show that there exists at least one player who wins a trophy
- Tower Of Hanoi (4 Pegs)
- Queues and permutation/combination
- Maths strategy games
- Find number of solutions to special "Lights Out!" puzzle scenarios
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?
I think it's slightly simpler to define $\Delta(a_1,a_2,\ldots,a_n)$ as the maximum value of $a_i - \left(a_i \oplus \bigoplus_{j=1}^n a_j\right)$. Then it becomes obvious that, provided the context is clear, the sum can be extracted as $k$ and we want $\max \{a_i - (a_i \oplus k)\}$.
Define $\delta_i = a_i - (a_i \oplus k)$ and consider a bit position $b$ (corresponding to value $2^b$). It is set in $k$ iff there are an odd number of $a_i$ in which it is set. Consider two cases:
Bit $b$ is set in $k$: it contributes $2^b$ towards $\delta_i$ for each $a_i$ in which it is set, and $-2^b$ towards $\delta_i$ for each $a_i$ in which it is clear.
Bit $b$ is clear in $k$: it contributes $0$ towards $\delta_i$ regardless of whether it is set or clear in $a_i$.
In tabular form: $$\begin{array}{ccc}a & k & a - (a\oplus k)\\ 0 & 0 & 0 \\ 0 & 1 & -1 \\ 1 & 0 & 0 \\ 1 & 1 & 1\end{array}$$
Since $2^b = 1 + \sum_{k = 0}^{b-1} 2^k$, an $a_i$ which has the highest set bit of $k$ but none of the others is going to give a larger $\delta_i$ than an $a_i$ which doesn't have the highest set bit of $k$ but does have all of the others. So if we choose $j$ to maximise $a_j\, \& \, k$ (bitwise AND) then that $j$ will also maximise $\delta_j$, and $\Delta(\ldots) = \delta_j$.