- $S$ is a subset of the first 1000 integers.
- No two elements of $S$ differ by 4 or 7. I have tried dividing the set of integers upto 1000 into subsets of 4 and 7 integers and tried to include into $S$ the numbers common to them. However this approach lead nowhere. Please suggest a solution.
2026-02-23 15:34:25.1771860865
What is the max value of $|S|$ where $S$ is a set with the following conditions?
86 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 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 COPRIME
- Squares of two coprime numbers
- Kernel and image of coprime factors of the minimal polynomial
- Is there an elegant Stern Brocot like way to generate all coprime triples?
- Show that 5n + 3 and 7n + 4 are relatively prime for any n 2 N. Show that s and t are not unique.
- Definition of Coprime
- $C_m \times C_n$ isomorphic to $C_{mn}$
- Prove co-prime exist
- Does $\exists b \in F_n(b^p=a)$ and $\exists c \in F_n(c^q=a)$ imply $\exists d \in F_n(d^{pq}=a)$?
- Inequality involving power to fractional part of integer multiples of logarithm of integer to coprime base.
- Problem with discrepancy of results, one of which is close to $\sqrt{\frac{\varphi^5}{5}}$
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?
First consider how many numbers we can select from $\{1, 2, \ldots, 11\}$, let's take $1$, rules out $5, 8$. Next we can take $2, 4, 7, 10$. Since, $1000 = 11\times90+10$, we definitely get $5\times90=450$ numbers from $\{1,\ldots, 990\}$, now the remaining set is of size 10, and you can get $5$ numbers out of a set of size $10$, as we saw above.
So largest set with above property should be $455$.
To prove this more formally, you can take any optimal set $A$, and convert it into the set we constructed greedily.
Let $i$ be least positive integer such that the sets differ after this point. Say $i \not \in A$ but it is in constructed set. This means at least one of $i+4, i+7$ must be in $A$.
You can consider cases, say $i+4 \in A$, If $i+7 \not \in A$ then $A \setminus \{i+4\} \cup \{i\}$ is of same size, If $i+7 \in A$ then $i+3 \not \in A$, thus $A\setminus\{i+4, i+7\} \cup \{i, i+3\}$ (assuming $i+10 \not\in A$) and so on. Thus other cases can be handled in very similar manner.
In case $i \in A$, not in constructed set. Then at least one of $i-4, i-7$ must be in constructed set. which means at least one of $i-4$ or $i-7$ is in $A$, a contradiction.