I made a sequence of terms using the inclusion exclusion principle and odd primes and was wondering whether it converged to $\frac{n}{2}$, which was my original hope. It looks like this: $$\lfloor\frac{n}{6}\rfloor+\lfloor\frac{n}{10}\rfloor+...+\lfloor\frac{n}{2p}\rfloor- (\lfloor\frac{n}{30}\rfloor+... \lfloor\frac{n}{2p_i p_{i+1}}\rfloor+...) +\lfloor\frac{n}{210}\rfloor+\lfloor\frac{n}{2p_i p_{i+1} p_{i+2}}\rfloor+...-...+...-\frac{n}{2*\prod_{k=2}^{\pi(n)}p_k}$$ I hope the pattern is clear here. In your answer, please discuss why or why not the expression converges to $\frac{n}{2}$, and what it represents.
2026-04-03 11:05:08.1775214308
Inclusion-Exclusion Convergence
146 Views Asked by Bumbble Comm https://math.techqa.club/user/bumbble-comm/detail At
1
There are 1 best solutions below
Related Questions in ELEMENTARY-NUMBER-THEORY
- Maximum number of guaranteed coins to get in a "30 coins in 3 boxes" puzzle
- Interesting number theoretical game
- How do I show that if $\boldsymbol{a_1 a_2 a_3\cdots a_n \mid k}$ then each variable divides $\boldsymbol k $?
- Using only the digits 2,3,9, how many six-digit numbers can be formed which are divisible by 6?
- Algebra Proof including relative primes.
- 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)
- algebraic integers of $x^4 -10x^2 +1$
- What exactly is the definition of Carmichael numbers?
- Number of divisors 888,888.
Related Questions in PRIME-NUMBERS
- New prime number
- Confirmation of Proof: $\forall n \in \mathbb{N}, \ \pi (n) \geqslant \frac{\log n}{2\log 2}$
- How do I prove this question involving primes?
- What exactly is the definition of Carmichael numbers?
- I'm having a problem interpreting and starting this problem with primes.
- Decimal expansion of $\frac{1}{p}$: what is its period?
- Multiplying prime numbers
- Find the number of relatively prime numbers from $10$ to $100$
- A congruence with the Euler's totient function and sum of divisors function
- Squares of two coprime numbers
Related Questions in INCLUSION-EXCLUSION
- Determine how many positive integers are $\leq 500$ and divisible by at least one between $6$, $10$ and $25$
- how many solutions in natural numbers are there to the inequality $x_1 + x_2 +....+ x_{10} \leq 70$?
- Proving Möbius inversion formula for inclusion exlusion
- how many ways are there to order the word LYCANTHROPIES when C isn't next to A, A isn't next to N and N isn't next to T
- How many ways are there to arrange 4 Americans, 3 Russians, and 5 Chinese into a queue, using inclusion-exclusion principle?
- Positive natural numbers $≤ 200$ divisible by one and only one between $12$ and $15$
- Counting problem involving inclusion-exclusion principle
- combinatorics problem - permutations and e/i
- Suppose that events $A$, $B$ and $C$ satisfy $P(A\cap B\cap C) = 0$
- $2n$ students want to sit in $n$ fixed school desks such that no one sits with their previous partner
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?
Let $\mathbf{P}'$ denote the set of odd primes. Then I guess what you want to form is the following quantity
$$ \begin{split} S_n &= \sum_{p \in \mathbf{P}'} \#[\text{multiples of $2p$ in $\{1, \cdots, n\}$}] \\ &\hspace{2em} - \sum_{\substack{p, q \in \mathbf{P}' \\ p < q}} \#[\text{multiples of $2pq$ in $\{1, \cdots, n\}$}] \\ &\hspace{4em} + \sum_{\substack{p, q, r \in \mathbf{P}' \\ p < q < r}} \#[\text{multiples of $2pqr$ in $\{1, \cdots, n\}$}] \\ &\hspace{6em} - \cdots \end{split} \tag{1} $$
From the inclusion-exclusion principle, this corresponds to
$$ S_n = \#[k \in \{1,\cdots,n\} : \text{$k$ is even and not a power of $2$}].$$
When $n \geq 2$, this expression leads to
$$ S_n = \left\lfloor \frac{n}{2}\right\rfloor - \left\lfloor\log_2 \frac{n}{2} \right\rfloor. $$
Let $[n] = \{1,\cdots,n\}$. Notice that the sum $S_n$ can be written as
$$ S_n = \sum_{p\in\mathbb{P}'} |[n]\cap 2p\Bbb{Z}| - \sum_{p<q\in\mathbb{P}'} |[n]\cap 2p\Bbb{Z}\cap 2q\Bbb{Z}| + \sum_{p<q<r\in\mathbb{P}'} |[n]\cap 2p\Bbb{Z}\cap 2q\Bbb{Z}\cap 2r\Bbb{Z}| - \cdots $$
so that it is obtained by applying the inlusion-exclusion principle to the union
$$ \Bigg| \bigcup_{p\in\mathbf{P}'} ([n]\cap 2p\Bbb{Z}) \Bigg|. $$
If we instead apply the inclusion-exclusion principle to
$$ \Bigg| \bigcup_{p\text{ prime}} ([n]\cap p\Bbb{Z}) \Bigg|, $$
since $1$ the unique element in $[n]$ which is not a multiple of prime, the result will be
$$ n-1 = \sum_{p\text{ prime}} |[n]\cap p\Bbb{Z}| - \sum_{p<q\text{ prime}} |[n]\cap p\Bbb{Z}\cap q\Bbb{Z}| + \sum_{p<q<r\text{ prime}} |[n]\cap p\Bbb{Z}\cap q\Bbb{Z}\cap r\Bbb{Z}| - \cdots. $$