Stay ahead of learning milestones! Enroll in a class over the summer!

G
Topic
First Poster
Last Poster
k a May Highlights and 2025 AoPS Online Class Information
jlacosta   0
May 1, 2025
May is an exciting month! National MATHCOUNTS is the second week of May in Washington D.C. and our Founder, Richard Rusczyk will be presenting a seminar, Preparing Strong Math Students for College and Careers, on May 11th.

Are you interested in working towards MATHCOUNTS and don’t know where to start? We have you covered! If you have taken Prealgebra, then you are ready for MATHCOUNTS/AMC 8 Basics. Already aiming for State or National MATHCOUNTS and harder AMC 8 problems? Then our MATHCOUNTS/AMC 8 Advanced course is for you.

Summer camps are starting next month at the Virtual Campus in math and language arts that are 2 - to 4 - weeks in duration. Spaces are still available - don’t miss your chance to have an enriching summer experience. There are middle and high school competition math camps as well as Math Beasts camps that review key topics coupled with fun explorations covering areas such as graph theory (Math Beasts Camp 6), cryptography (Math Beasts Camp 7-8), and topology (Math Beasts Camp 8-9)!

Be sure to mark your calendars for the following upcoming events:
[list][*]May 9th, 4:30pm PT/7:30pm ET, Casework 2: Overwhelming Evidence — A Text Adventure, a game where participants will work together to navigate the map, solve puzzles, and win! All are welcome.
[*]May 19th, 4:30pm PT/7:30pm ET, What's Next After Beast Academy?, designed for students finishing Beast Academy and ready for Prealgebra 1.
[*]May 20th, 4:00pm PT/7:00pm ET, Mathcamp 2025 Qualifying Quiz Part 1 Math Jam, Problems 1 to 4, join the Canada/USA Mathcamp staff for this exciting Math Jam, where they discuss solutions to Problems 1 to 4 of the 2025 Mathcamp Qualifying Quiz!
[*]May 21st, 4:00pm PT/7:00pm ET, Mathcamp 2025 Qualifying Quiz Part 2 Math Jam, Problems 5 and 6, Canada/USA Mathcamp staff will discuss solutions to Problems 5 and 6 of the 2025 Mathcamp Qualifying Quiz![/list]
Our full course list for upcoming classes is below:
All classes run 7:30pm-8:45pm ET/4:30pm - 5:45pm PT unless otherwise noted.

Introductory: Grades 5-10

Prealgebra 1 Self-Paced

Prealgebra 1
Tuesday, May 13 - Aug 26
Thursday, May 29 - Sep 11
Sunday, Jun 15 - Oct 12
Monday, Jun 30 - Oct 20
Wednesday, Jul 16 - Oct 29

Prealgebra 2 Self-Paced

Prealgebra 2
Wednesday, May 7 - Aug 20
Monday, Jun 2 - Sep 22
Sunday, Jun 29 - Oct 26
Friday, Jul 25 - Nov 21

Introduction to Algebra A Self-Paced

Introduction to Algebra A
Sunday, May 11 - Sep 14 (1:00 - 2:30 pm ET/10:00 - 11:30 am PT)
Wednesday, May 14 - Aug 27
Friday, May 30 - Sep 26
Monday, Jun 2 - Sep 22
Sunday, Jun 15 - Oct 12
Thursday, Jun 26 - Oct 9
Tuesday, Jul 15 - Oct 28

Introduction to Counting & Probability Self-Paced

Introduction to Counting & Probability
Thursday, May 15 - Jul 31
Sunday, Jun 1 - Aug 24
Thursday, Jun 12 - Aug 28
Wednesday, Jul 9 - Sep 24
Sunday, Jul 27 - Oct 19

Introduction to Number Theory
Friday, May 9 - Aug 1
Wednesday, May 21 - Aug 6
Monday, Jun 9 - Aug 25
Sunday, Jun 15 - Sep 14
Tuesday, Jul 15 - Sep 30

Introduction to Algebra B Self-Paced

Introduction to Algebra B
Tuesday, May 6 - Aug 19
Wednesday, Jun 4 - Sep 17
Sunday, Jun 22 - Oct 19
Friday, Jul 18 - Nov 14

Introduction to Geometry
Sunday, May 11 - Nov 9
Tuesday, May 20 - Oct 28
Monday, Jun 16 - Dec 8
Friday, Jun 20 - Jan 9
Sunday, Jun 29 - Jan 11
Monday, Jul 14 - Jan 19

Paradoxes and Infinity
Mon, Tue, Wed, & Thurs, Jul 14 - Jul 16 (meets every day of the week!)

Intermediate: Grades 8-12

Intermediate Algebra
Sunday, Jun 1 - Nov 23
Tuesday, Jun 10 - Nov 18
Wednesday, Jun 25 - Dec 10
Sunday, Jul 13 - Jan 18
Thursday, Jul 24 - Jan 22

Intermediate Counting & Probability
Wednesday, May 21 - Sep 17
Sunday, Jun 22 - Nov 2

Intermediate Number Theory
Sunday, Jun 1 - Aug 24
Wednesday, Jun 18 - Sep 3

Precalculus
Friday, May 16 - Oct 24
Sunday, Jun 1 - Nov 9
Monday, Jun 30 - Dec 8

Advanced: Grades 9-12

Olympiad Geometry
Tuesday, Jun 10 - Aug 26

Calculus
Tuesday, May 27 - Nov 11
Wednesday, Jun 25 - Dec 17

Group Theory
Thursday, Jun 12 - Sep 11

Contest Preparation: Grades 6-12

MATHCOUNTS/AMC 8 Basics
Friday, May 23 - Aug 15
Monday, Jun 2 - Aug 18
Thursday, Jun 12 - Aug 28
Sunday, Jun 22 - Sep 21
Tues & Thurs, Jul 8 - Aug 14 (meets twice a week!)

MATHCOUNTS/AMC 8 Advanced
Sunday, May 11 - Aug 10
Tuesday, May 27 - Aug 12
Wednesday, Jun 11 - Aug 27
Sunday, Jun 22 - Sep 21
Tues & Thurs, Jul 8 - Aug 14 (meets twice a week!)

AMC 10 Problem Series
Friday, May 9 - Aug 1
Sunday, Jun 1 - Aug 24
Thursday, Jun 12 - Aug 28
Tuesday, Jun 17 - Sep 2
Sunday, Jun 22 - Sep 21 (1:00 - 2:30 pm ET/10:00 - 11:30 am PT)
Monday, Jun 23 - Sep 15
Tues & Thurs, Jul 8 - Aug 14 (meets twice a week!)

AMC 10 Final Fives
Sunday, May 11 - Jun 8
Tuesday, May 27 - Jun 17
Monday, Jun 30 - Jul 21

AMC 12 Problem Series
Tuesday, May 27 - Aug 12
Thursday, Jun 12 - Aug 28
Sunday, Jun 22 - Sep 21
Wednesday, Aug 6 - Oct 22

AMC 12 Final Fives
Sunday, May 18 - Jun 15

AIME Problem Series A
Thursday, May 22 - Jul 31

AIME Problem Series B
Sunday, Jun 22 - Sep 21

F=ma Problem Series
Wednesday, Jun 11 - Aug 27

WOOT Programs
Visit the pages linked for full schedule details for each of these programs!


MathWOOT Level 1
MathWOOT Level 2
ChemWOOT
CodeWOOT
PhysicsWOOT

Programming

Introduction to Programming with Python
Thursday, May 22 - Aug 7
Sunday, Jun 15 - Sep 14 (1:00 - 2:30 pm ET/10:00 - 11:30 am PT)
Tuesday, Jun 17 - Sep 2
Monday, Jun 30 - Sep 22

Intermediate Programming with Python
Sunday, Jun 1 - Aug 24
Monday, Jun 30 - Sep 22

USACO Bronze Problem Series
Tuesday, May 13 - Jul 29
Sunday, Jun 22 - Sep 1

Physics

Introduction to Physics
Wednesday, May 21 - Aug 6
Sunday, Jun 15 - Sep 14
Monday, Jun 23 - Sep 15

Physics 1: Mechanics
Thursday, May 22 - Oct 30
Monday, Jun 23 - Dec 15

Relativity
Mon, Tue, Wed & Thurs, Jun 23 - Jun 26 (meets every day of the week!)
0 replies
jlacosta
May 1, 2025
0 replies
Similar Problems
Saucepan_man02   0
a minute ago
Could anyone post some problems which are similar to the below problem:

Find the real solution of: $$x^9+9/8 x^6+27/64 x^3-x+219/512.$$
Sol(outline)
0 replies
Saucepan_man02
a minute ago
0 replies
A strong inequality problem
hn111009   2
N 9 minutes ago by hn111009
Source: Somewhere
Let $a,b,c$ be the positive number satisfied $a^2+b^2+c^2=3.$ Find the minimum of $$P=\dfrac{a^2}{b+c}+\dfrac{b^2}{c+a}+\dfrac{c^2}{a+b}+\dfrac{3abc}{2(ab+bc+ca)}.$$
2 replies
hn111009
Yesterday at 2:02 AM
hn111009
9 minutes ago
Inequality
Sadigly   2
N 27 minutes ago by sqing
Source: Azerbaijan Senior NMO 2019
Prove that for any $a;b;c\in\mathbb{R^+}$, we have $$(a+b)^2+(a+b+4c)^2\geq \frac{100abc}{a+b+c}$$When does the equality hold?
2 replies
Sadigly
Yesterday at 8:47 PM
sqing
27 minutes ago
Easy inequality...
Sadigly   1
N 33 minutes ago by lbh_qys
Source: Azerbaijan Senior NMO 2020
$x,y,z\in\mathbb{R^+}$. If $xyz=1$, then prove the following: $$\sum\frac{x^6+2}{x^3}\geq3(\frac{x}{y}+\frac{y}{z}+\frac{z}{x})$$
1 reply
Sadigly
Yesterday at 9:57 PM
lbh_qys
33 minutes ago
No more topics!
Expressing a term of the sequence by the sum of previous terms
Neothehero   16
N Apr 25, 2025 by Ilikeminecraft
Source: ISL 2018 N3
Define the sequence $a_0,a_1,a_2,\hdots$ by $a_n=2^n+2^{\lfloor n/2\rfloor}$. Prove that there are infinitely many terms of the sequence which can be expressed as a sum of (two or more) distinct terms of the sequence, as well as infinitely many of those which cannot be expressed in such a way.
16 replies
Neothehero
Jul 17, 2019
Ilikeminecraft
Apr 25, 2025
Expressing a term of the sequence by the sum of previous terms
G H J
G H BBookmark kLocked kLocked NReply
Source: ISL 2018 N3
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Neothehero
18 posts
#1 • 3 Y
Y by centslordm, Adventure10, deplasmanyollari
Define the sequence $a_0,a_1,a_2,\hdots$ by $a_n=2^n+2^{\lfloor n/2\rfloor}$. Prove that there are infinitely many terms of the sequence which can be expressed as a sum of (two or more) distinct terms of the sequence, as well as infinitely many of those which cannot be expressed in such a way.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
v_Enhance
6877 posts
#2 • 10 Y
Y by pavel kozlov, rashah76, ayan_mathematics_king, Siddharth03, v4913, centslordm, akasht, Adventure10, Ali_Vafa, NicoN9
Let \begin{align*} 	S_n &= a_0 + \dots + a_n \\ 	&= 2^{n+1} + 2^{\left\lfloor (n+1)/2 \right\rfloor} 	+ 2^{\left\lceil (n+1)/2 \right\rceil} - 3 \\ 	&= a_{n+1} + (2^{\left\lceil (n+1)/2 \right\rceil} - 3). \end{align*}Here is a table of the first several $a_n$ and $S_n$ for concreteness. \[ 	\begin{array}{rrlrl} 		n & a_n & & S_n &  \\ \hline 		0 & 2 & = 2^{0} + 2^{0} & 2 & = 2^1+2^0+2^1-3 \\ 		1 & 3 & = 2^{1} + 2^{0} & 5 & = 2^2+2^1+2^1-3 \\ 		2 & 6 & = 2^{2} + 2^{1} & 11 & = 2^3+2^1+2^2-3 \\ 		3 & 10 & = 2^{3} + 2^{1} & 21 &= 2^4+2^2+2^2-3 \\ 		4 & 20 & = 2^{4} + 2^{2} & 41 &= 2^5+2^2+2^3-3 \\ 		5 & 36 & = 2^{5} + 2^{2} & 77 &= 2^{6}+2^3+2^3-3 \\ 		6 & 72 & = 2^{6} + 2^{3} & 149 &= 2^{7}+2^3+2^4-3 \\ 		7 & 136 & = 2^{7} + 2^{3} & 285 &= 2^{8}+2^4+2^4-3 \\ 		8 & 272 & = 2^{8} + 2^{4} & 557 &= 2^{9}+2^4+2^5-3 \\ 		9 & 528 & = 2^{9} + 2^{4} & 1085 &= 2^{10}+2^5+2^5-3 \\ 		10 & 1056 & = 2^{10} + 2^{5} & 2141 &= 2^{11}+2^5+2^6-3 \\ 		11 & 2080 & = 2^{11} + 2^{5} & 4221 &= 2^{12}+2^6+2^6-3 \\ 		12 & 4160 & = 2^{12} + 2^{6} & 8381 &= 2^{13}+2^6+2^7-3 \\ 		13 & 8256 & = 2^{13} + 2^{6} & 16637 &= 2^{14}+2^7+2^7-3 \\ 		14 & 16512 & = 2^{14} + 2^{7} & 33149 &= 2^{15}+2^7+2^8-3 \\ 		15 & 32896 & = 2^{15} + 2^{7} & 66045 &= 2^{16}+2^8+2^8-3 \\ 		16 & 65792 & = 2^{16} + 2^{8} & 131837 &= 2^{17}+2^8+2^9-3 \\ 		17 & 131328 & = 2^{17} + 2^{8} & 263165 &= 2^{18}+2^9+2^9-3  \\ 	\end{array} \]The idea is that each $a_n$ is close to the previous partial sum $S_{n-1}$. We say $x \in {\mathbb Z}_{\ge 0}$ is representable if it can be written as the sum of zero or more terms in the sequence. We write $x \iff y$ to denote that either both $x$ and $y$ are representable, or neither is. The main claim is:

Claim: Let $n$ be a be a nonnegative integer.
  • If $x$ and $y$ are nonnegative integers with $x+y = S_n$ and $x,y < a_{n+1}$, then $x \iff y$.
  • The number $a_n$ can be represented as the sum of previous terms if and only if $S_{n-1} - a_n = 2^{\left\lceil n/2 \right\rceil} - 3$ can be.

Proof. If $x$ is representable, then it is the sum of some subset $S \subseteq \{a_0, \dots, a_n\}$; the complement of $S$ then has sum $y$. The second bullet point is similar. $\blacksquare$

Now it is straightforward to finish by focusing only on terms of the form $2^k-3$ and seeing how the first part of the claim applies to them. One simple way to do this is notice that for $k \ge 2$ we have a chain \[ (2^{4k-2}-3) \iff \underbrace{2^{2k}}_{=2^{2k-1}+2^{2k-1}} 	\iff \underbrace{(2^{k+1}-3)}_{=2^k+2^k-3}. \]Thus since $2^3 - 3 = 5 = a_0 + a_1$ is representable, we get an infinite chain \[ (2^3-3) \iff 2^4 \iff 	(2^6-3) \iff 2^{10} \iff 	(2^{18}-3) \iff 2^{34} \iff \cdots. \]Similarly, one can check $2^7-3 = 125$ is not representable (according to $125 \iff 24 \iff 17 \iff 4$, say); thus we get another infinite chain \[ (2^7-3) \iff 2^{12} \iff 	(2^{22}-3) \iff 2^{42} \iff 	(2^{82}-3) \iff 2^{162} \iff \cdots. \]
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
MarkBcc168
1595 posts
#3 • 4 Y
Y by akasht, Adventure10, Mango247, bhan2025
Bashy and fake NT :(

Call a positive integer $k$ weakly expressible if and only if it can be written in the sum of (at least one) different terms in $a_0,a_1,...$. And call it strongly expressible if and only if it can be written in the sum of (at least two) different terms.

First, we introduce the following small claim.
Claim: For any positive integer $n$,
  • $a_0+a_1+a_2+...+a_{2n-1} = 2^{2n}+2^{n+1}-3$,
  • $a_0+a_1+a_2+...+a_{2n} = 2^{2n+1}+3\cdot 2^n -3.$

Proof: Straightforward computation.
Now, here is the crucial observation. For any positive integers $k,n$ such that $k\leqslant a_n$, we have
$$\boxed{k\text{ is strongly expressible}\iff (a_0+a_1+..+a_{n-1})-k\text{ is weakly expressible}.}$$Using specific cases of this observation and a few computations. We deduce the following claims for any $n\geqslant 3$.
Claim: $a_{2n-1}$ is strongly expressible $\iff 2^n-3$ is strongly expressible.

Proof: Note that $2^n-3\in (a_{n-1},a_n)$. Thus the notions of weakly and strongly expressible for $2^n-3$ are equivalent. Moreover,
$$(a_0+a_1+...+a_{2n-2}) - (a_{2n-1}) = (2^{2n-1}+3\cdot 2^{n-1}-3) - (2^{2n-1}+2^{n-1}) = 2^n-3$$thus by our observation we are done.
Claim: $2^{4n-6}-3$ is strongly expressible $\iff 2^{2n-1}$ is strongly expressible $\iff 2^n-3$ is strongly expressible.

Proof: Clearly each of $2^n-3, 2^{2n-1}, 2^{4n-6}-3$ are not in range of $a_i$. Thus we can abandon the notion weakly/strongly expressible. Now observe that
\begin{align*}
(a_0+a_1+a_2+...+a_{4n-7}) - (2^{4n-6}-3) &= (2^{4n-6} + 2^{2n-2}-3) - (2^{4n-6}-3) = 2^{2n-2} \\
(a_0+a_1+a_2+...+a_{2n-3}) - 2^{2n-2} &= (2^{2n-2} + 2^n - 3) - 2^{2n-2} = 2^n-3.
\end{align*}thus using the observation twice, we are done.
The two claims implies that $a_{2n-1}$ is strongly expressible $\iff a_{8n-13}$ is inexpressible. Thus it suffices to find an example which can/cannot be expressed. Aiding with the $2^n-3$ claim, a straightforward calculation reveals $a_7$ is expressible while $a_{13}$ cannot hence we are done.
This post has been edited 1 time. Last edited by MarkBcc168, Jul 17, 2019, 3:53 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
pad
1671 posts
#6 • 3 Y
Y by Mango247, Mango247, Mango247
Notice that $a_0+\cdots+a_{n-1}$ is very close to $a_n$ due to the fact that $a_n$ is close to $2^n$. In particular,
\begin{align*}
    a_0 + \cdots + a_{2k-1} &= (2^{2k}-1) + 2(2^k-1) = 2^{2k} + 2^{k+1} - 3 \\
    a_0+\cdots +a_{2k}&= (2^{2k+1}-1)+2(2^{k}-1)+2^k=2^{2k+1} + 2^{k+1}+2^k - 3. 
\end{align*}So $(a_0+\cdots+a_{2k-1})-a_{2k} = 2^k - 3$ and $(a_0+\cdots+a_{2k})-a_{2k+1} = 2^{k+1}-3$. In summary,
\[ a_n = (a_0+\cdots + a_{n-1}) - (2^{\lceil n/2 \rceil}-3).\]Therefore, $a_n$ is expressible iff $2^{\lceil n/2 \rceil}-3$ is expressible, since $2^{\lceil n/2 \rceil}-3$ will just be the terms remaining from $a_0+\cdots+a_{n-1}$ when we remove the terms that sum to $a_n$.
Therefore, it suffices to find infinitely many $2^k-3$ that are expressible and infinitely that are not. Note that $2^3-3=5=a_0+a_1$ is expressible, and $2^7-3 = 125$ is not expressible. Hence, if we can find an infinite chain $k<k_1<k_2<\cdots$ for each initial $k$ such that $2^{k_i}-3$ is expressible iff $2^{k_{i+1}}-3$ is expressible, then we will be done, as the chain starting with $2^3-3$ will all be expressible, and the chain starting with $2^7-3$ will all not be expressible. We have
\[ 2^k-3 = (a_0+\cdots+a_{2k-3}) - 2^{2k-2}. \]So $2^k-3$ is expressible iff $2^{2k-2}$ is expressible. And
\[ 2^{2k-2} = (a_0+\cdots+a_{4k-7}) - (2^{4k-6}-3), \]so $2^{2k-2}$ is expressible iff $2^{4k-6}-3$ is expressible. In conclusion, $2^k-3$ is expressible iff $2^{4k-6}$ is expressible, so we are done.

Remarks
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
nukelauncher
354 posts
#7 • 1 Y
Y by OronSH
Solution with jclash
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
HKIS200543
380 posts
#8
Y by
Same idea as the ones posted earlier.

Say that an integer $k$ is expressible if it may me written as a sum of one or more distinct terms in the sequence $\{a_n\}$, and let $S_n = a_0 + a_1 + a_2 + \cdots + a_n$.

With a straightforward computation,
\begin{align*}
S_{2k-1} &= 2^{2k} + 2^k + 2^k - 3 \\
S_{2k} &= 2^{2k+1} + 2^{k+1} + 2^k - 3
\end{align*}
First, observe that
\[ m \text{ is expressible } \iff S_{n} - m  \text{ is expressible } \tag{$\dagger$}  \]because if $m$ is expressible as a sum of a subsequence $A$, then $S_{n} - m$ is equal to the sum of $\{a_0, a_1, a_2, \dots, a_{n}\} \setminus A$. In particular, $a_{2k}$ is expressible if and only if $2^k - 3$ is expressible. However, by applying $(\dagger)$ with $(m,n) = (2^{4k-2}-3, 4k-3)$ and $2^{2k}, S_{2k-1}$, we obtain that
\[ 2^{4k-2} - 3 \text{ is expressible } \iff 2^{2k}  \text{ is expressible } \iff 2^{k+1} - 3  \text{ is expressible } \]This implies that $a_{8k-4}$ is expressible if and only if $a_{2k+2}$ is expressible. However, it is easy to check manually that $a_8$ is not expressible and that $a_6$ is expressible. Thus we can produce infinitely expressible and non-expressible elements of the sequence $a_n$ by induction.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
fukano_2
492 posts
#9
Y by
redacted
This post has been edited 4 times. Last edited by fukano_2, Oct 27, 2021, 10:35 AM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
L567
1184 posts
#10 • 1 Y
Y by starchan
Cute. Solved with Pujnk

Observe that $a_{2k} = 2^{2k} + 2^{k} = 2(2^{2k-1} + 2^{k-1}) = 2a_{2k-1}$

Let $S(n)$ denote $a_0 + a_1 + a_2 + ... + a_n$.

Claim: $S(2k-1) = a_{2k} + 2^k - 3 = 2^{2k} + 2^{k+1} - 3$

Proof: Just induct, the base case is true. Then, we have $S(2k-1) = a_{2k-1} + a_{2k-2} + S(2k-3) = 2^{2k-1} + 2^{k-1} + 2^{2k-2} + 2^{k-1} + 2^{2k-2} + 2^{k} - 3 = 2^{2k}+ 2^{k+1} - 3$, as desired. $\square$

Call a number representable if it can be written as the sum of two or more distinct elements of the sequence. Observe that if a number $n$ is representable, with all the terms of the sequence $\le a_m$, then we have that $S_m - n$ is also representable by just picking all those terms that were not picked earlier. The converse also obviously holds.

So, we have that $a_{2n}$ is representable if and only if $2^n - 3$ is representable. Also, note that $2^{2n}$ is representable if and only if $2^{n+1} - 3$ is representable.

Adopting the notation from previous posts, this means we have $2^{4n-2} - 3 \iff 2^{2n} \iff 2^{n+1}-3$. So, it suffices to find one value of $2^n - 3$ that is and is not representable since then we can generate infinitely many of them using this (We need $n > 1$ though)

For a representable one, we have $n=3$ works since $5 = 2 + 3$ and for one that is not, bashing, we see that $a_7 = 125$ cannot be represented. So, we are done. $\blacksquare$
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
jj_ca888
2726 posts
#11 • 3 Y
Y by Mango247, Mango247, Mango247
In general, consider $S_k = a_0 + \ldots = a_k$. Note
  • If $k$ is odd, then\begin{align*}S_k = (2^0 +2^1 + \ldots + 2^k) + 2(2^0 + 2^1 + \ldots + 2^{(k-1)/2}) &= 2^{k+1} + 2^{(k+3)/2} - 3\\&= a_{k+1} + (2^{(k+1)/2} - 3).\end{align*}
  • If $k$ is even, then\begin{align*}S_k = (2^0 + 2^1 + \ldots + 2^k) + 2(2^0 + 2^1 + \ldots + 2^{(k-2)/2}) + 2^{k/2} &= 2^{k+1} + 3 \cdot 2^{k/2} - 3\\&= a_{k+1} + (2^{(k+2)/2} - 3).\end{align*}
Hence, generally, we have $a_{k+1} = S_k - (2^{\left\lceil (k+1)/2 \right\rceil} - 3)$, so thus $a_{k+1}$ is expressible if and only if $(2^{\left\lceil (k+1)/2 \right\rceil} - 3)$ is (we don't have to worry about it having an $a_i$ term in its expression where $i > k$ in for size reasons).

So it suffices to find infinitely many expressible and inexpressible $(2^{\left\lceil (k+1)/2 \right\rceil} - 3)$ across $k \in \mathbb{Z}_+$.

Note that, given an expressible $2^t - 3$, we have $S_{2t - 3} - (2^t - 3) = 2^{2t - 2}$ is expressible (and vice versa), and also when given an expressible $2^{2t - 2}$ we have $S_{4t - 7} - 2^{2t-2}= 2^{4t - 6} - 3$ is expressible (and vice versa). We therefore conclude that $2^t - 3$ is expressible iff $2^{4t - 6} - 3$ is expressible.

Note that $2^3 - 3 = 5 = (2^1 + 2^0) + (2^0 + 2^0)$ is expressible, hence we are able to construct an increasing infinite chain\[3, f(3), f(f(3)), \ldots = 3, 6, 18, \ldots\]where $f(n) = 4n-6$ for all positive integers $n$.

The number $2^{f^k(3)} - 3$ is thus always expressible, which indeed exhibits an infinite number of expressible positive integers.

We can probably find a $2^r - 3$ that is inexpressible, and similarly construct a chain $r, f(r), f(f(r), \ldots$ for which $2^{f^k(r)} - 3$ is inexpressible for all $k$, also exhibiting an infinite number of inexpressible integers.
This post has been edited 13 times. Last edited by jj_ca888, Jun 29, 2021, 10:42 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
cmsgr8er
434 posts
#12 • 1 Y
Y by Mango247
Claim: $a_n$ is expressible if an only if there exists a subset of previous $n$ terms summing to $2^{\lceil n/2 \rceil} - 3.$

Proof. This is easily verifiable by considering $n$ even vs $n$ odd and evaluating
$$\left(\sum_{i=0}^{n-1} 2^i + 2^{\lfloor i/2\rfloor}\right) - (2^n + 2^{\lfloor n/2 \rfloor}) = 2^{\lceil n/2 \rceil} - 3. $$In other words, given a subset of previous terms summing to $a_n,$ we can instead consider the set of terms not chosen, of which must sum to the above, and conversely, if such a set of terms equals $2^{\lceil n/2 \rceil} - 3,$ then $a_n$ is expressible.$\blacksquare$

Claim: $2^k-3$ is expressible if and only if $2^{4k-6}-3$ is expressible.

Proof. If $2^k-3$ is expressible, then note that we may express
\begin{align*}
2^k-3 + (a_{2k-2} + a_{2k-1} + a_{2k} + \cdots + a_{4k-7}) &= 2^k-3 + ((2^{k-1} + 2^{2k-2}) + (2^{k-1} + 2^{2k-1}) + \cdots + (2^{2k-4} + 2^{4k-8}) + (2^{2k-4} + 2^{4k-7})) \\
&= 2^k - 3 + 2^k(1 + 2 + \cdots + 2^{3k-7}) \\ 
&= 2^{4k-6} - 3,
\end{align*}So the forward direction is true. For the reverse, suppose $2^{4k-6}-3$ is expressible, then note that,
$$ \sum_{i=0}^{4k-7} a_i  - (2^{4k-6}-3)= 2^{2k-2} ,$$So $2^{2k-2}$ is expressible. Moreover,
$$\sum_{i=0}^{2k-3} a_i - 2^{2k-2} = 2^k-3,$$Implying the desired result. $\blacksquare$

Thus, it suffices to find one non expressible and one expressible of the form $2^k-3,$ giving us infinite chains of expressible terms, for which $2^7-3$ and $2^3-3$ suffice, respectively.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
bora_olmez
277 posts
#13
Y by
Interesting. Here is a considerably messier but different solution. Also, display mode is slightly overused in this solution, sorry about that.

$\color{red} \boxed{\textbf{Getting Started and Building Up Towards the Solution}}$
$\textbf{Lemma 1:}$
The problem is equivalent to finding infinitely many $k \in \mathbb{N}$ such that there exist and do not exist $b_1,..,b_s \in \{1,..,k\}$ such that $$\sum_{i=1}^{s}a_{b_i} = 2^{k+1}-3$$$\textbf{Proof)}$
If $n = 2k+2$, notice that $$a_2+...+a_{2k+1} = 2^{2k+2}+2^{k+2}-3$$Then notice that we have to find distinct $b_1,...,b_s \in \{1,..,2k+2\}$ such that $$2^{2k+2}+2^{k+1} = a_{2k+2}=a_2+...+a_{2k+1} - \sum_{i=1}^{s}a_{b_i} = 2^{2k+2}+2^{k+2}-3-\sum_{i=1}^{s}a_{b_i}$$and therefore we need to have that $$2^{k+1}-3 = \sum_{i=1}^{s}a_{b_i}$$If $n=2k+1$, notice that $$a_2+...+a_{2k-1}+a_{2k} = 2^{2k}+2^{k+1}-3 + 2^{2k}+2^k = 2^{2k+1}+2^{k+1}+2^k-3$$We then again need to find $b_1,..,b_s \in \{1,..,2k+1\}$ such that $$2^{2k+1}+2^k=a_{2k+1} = a_2+...+a_{2k} - \sum_{i=1}^{s}a_{b_i} = 2^{2k+1}+2^{k+1}+2^k-3 - \sum_{i=1}^{s}a_{b_i}$$and consequently $$\sum_{i=1}^{s}a_{b_i} = 2^{k+1}-3$$which proves the desired claim. $\blacksquare$

Call some positive integer $N$ $\textit{old}$ if it can be written as a sum of terms of the sequence and $\textit{new}$ otherwise. Moreover, say that $n$ is $\textit{sad}$ if $2^n-3$ is new and $\textit{happy}$ if $2^n-3$ is old.

$\color{blue} \boxed{\textbf{The Construction}}$
We will firstly construct infinitely many $k \in \mathbb{N}$ such that there are $b_1,..,b_s \in \{1,..,k\}$ such that $$\sum_{i=1}^{s}a_{b_i} = 2^0+ 2^2 + 2^3+...+2^k = 2^{k+1}-3$$which would imply that $k+1$ is old.
$\textbf{Lemma 2:}$
The above condition is satisfied for all positive integers of the form $2^{2n}+1$ meaning that $2^{2n}+2$ is happy for all $n \in \mathbb{N}$.
$\textbf{Proof)}$
For every $n \geq 1$, let $A_n = \{i \in \mathbb{N} \mid 2^{2n-1}+2 \leq i \leq 2^{2n}+1\}$ and let $A_0 = \{1,2\}$ define $B_n = \cup_{i=1}^{n}A_i$, we will induct on $n$ to show that $$\sum_{i \in B_n} a_i = a_{2^{2n}+1}$$with base case $n=1$.
$\textbf{Inductive Step:}$
Notice that $$\sum_{i=2^{2n-1}+2}
^{2^{2n}+1} a_i = \sum_{i=2^{2n-2}+2}^{2^{2n}+1} 2^i = \sum_{0 \leq i \leq 2^{2n}+1, i\neq 1}2^i - \sum_{i \in A_{n-1}} a_i = 2^{2^{2n}+2}-3 - \sum_{i \in A_{n-1}} a_i$$completing the inductive step and the construction $\blacksquare$


$\color{blue} \boxed{\textbf{The Destruction}}$
We know by $\textbf{Lemma 1}$ that the destructive part of the problem is equivalent to showing that there are infinitely many sad $n$.

$\textbf{Lemma 3:}$ If $n$ is sad, so is $4n-6$, for all $n \geq 2$.
$\textbf{Proof)}$
Assume FTSOC that $n$ is sad, yet $4n-6$ is happy.
Then, notice that we can find $A \subset
\{1,..,4n-7\}$ such that $$2^{4n-6}+2^{2n-2}-3 - \sum_{j \in A} a_{b_j}= \sum_{i=1}^{4n-7} a_i - \sum_{j \in A} a_{b_j} = 2^{4n-6}-3$$meaning that $$\sum_{j \in A} a_{b_j} = 2^{2n-2}$$and furthermore that $2^{2n-2}$ is old, meaning that, $$2^{2n-2}+2^{n}-3 = \sum_{i \not\in A, i \leq 2n-3} a_{b_i} + \sum_{j \in A} a_{b_j} = \sum_{i \not\in A, i \leq 2n-3} a_{b_i} + 2^{2n-2}$$and consequently, $$\sum_{i \not\in A, i \leq 2n-3} a_{b_i} = 2^n-3$$meaning that $n$ is happy, clearly contradicting our initial assumption. $\blacksquare$.

Now, notice that $5$ is sad meaning that if we define $x_{n+1} = 4x_n-6$ with $x_0 = 5$, $x_i$ is sad for all $i \in \mathbb{N}$ and the sequence is clearly growing meaning that there are infinitely many sad integers.

Notice that we have proven that there are infinitely many happy and infinitely many sad positive integers which finishes as a consequence of $\textbf{Lemma 1}$. $\blacksquare$

Motivation and Thoughts
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
IAmTheHazard
5001 posts
#14 • 2 Y
Y by Mango247, Mango247
Define the partial sums $S_n=a_0+\cdots+a_n$. A simple computation yields that we have $S_n=2^{n+1}+2^{\lfloor (n+1)/2 \rfloor}+2^{\lceil (n+1)/2\rceil}-3=a_{n+1}+2^{\lceil (n+1)/2\rceil}-3$. Call a positive integer \textit{expressible} if it can be written as the sum of distinct terms in the sequence $(a_n)$. The key idea is that if some $x<S_n$ is expressible, then so must $S_n-x$ by taking all the terms not included in the expression of $x$, and vice versa. Writing $x \iff y$ if $x$ is expressible iff $y$ is, we have $x \iff S_n-x$, provided that $S_n>x$.
Thus, we have $a_n \iff 2^{\lceil n/2 \rceil}-3$, so it suffices to find infinitely many $n$ such that $2^n-3$ is expressible and infinitely many $n$ such that it's not. Since $S_{2n-3}=2^{2n-2}+2^n-3$, we have $2^n-3 \iff 2^{2n-2}$. Then, since $S_{4n-7}=2^{4n-6}+2^{2n-2}-3$, we have $2^{2n-2} \iff 2^{4n-6}-3$. Since we can manually check that $2^3-3=5$ is expressible and $2^7-3=125$ isn't, we have the following infinite chains
$$2^3-5 \iff 2^6-5 \iff 2^{18}-5 \iff \cdots$$and
$$2^7-5 \iff 2^{22}-5 \iff 2^{82}-5 \iff \cdots,$$so we're done. $\blacksquare$
This post has been edited 1 time. Last edited by IAmTheHazard, Jun 2, 2022, 6:43 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
YaoAOPS
1541 posts
#15
Y by
Define $s_n = \sum_{i=0}^{n-1} a_i$.
Then, note that \[ s_{2k} = (2^0 + 2^1 + \dots + 2^{2k-1}) + 2(2^0 + 2^1 + \dots + 2^{k-1}) = 2^{2k} + 2^{k+1} - 3 \]and \[ s_{2k+1} = (2^0 + 2^1 + \dots + 2^{2k}) + 2(2^0 + 2^1 + \dots + 2^{k-1}) + 2^k = 2^{2k} + 2^{k+1} + 2^k - 3 \]so we get $s_{2k} - a_{2k} = 2^k - 3, s_{2k+1} - a_{2k+1} = 2^{k+1} - 3$
It remains to show there are infinite $2^k - 3$ that are the sum of two or more distinct and infinitely many that are not.
Note that \[ (2^k - 3) + s_{4k-7} - s_{2k-3} = 2^{4k-6} - 3 \]Note that $a$ is a sum iff $s_n - a$ is a sum for all $a$.
Then $2^k - 3$ is a sum iff $s_{2k-3} - (2^k - 3)$ is a sum iff $2^{4k-6} - 3$ is a sum.
Since $2^3 - 3$ is a sum and $2^7 - 3$ is not a sum, the result follows.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
awesomeming327.
1719 posts
#16
Y by
Let $S_n=a_0+a_1+a_2+\dots + a_n$. Note that if $n$ is odd then
\begin{align*}
S_n &= a_0+a_1+\dots + a_n\\
&= (2^0 + 2^0) + (2^1 + 2^0) + (2^2+2^1) + (2^3 + 2^1) + \dots + \left(2^n + 2^{\left(\frac{n-1}{2}\right)}\right) \\
&= 2^{n+1}-1 + 2^1 + 2^2 + \dots + 2^{\left(\frac{n+1}{2}\right)} \\
&= 2^{n+1}-1 + 2^{\left(\frac{n+3}{2}\right)} - 2 \\ 
&= a_{n+1} + 2^{\left(\frac{n+1}{2}\right)} - 3
\end{align*}If $n$ is even then
\begin{align*}
S_n &= a_0+a_1+\dots + a_n \\
&= (2^0 + 2^0) + (2^1 + 2^0) + (2^2+2^1) + (2^3 + 2^1) + \dots + \left(2^n + 2^{\left(\frac{n}{2}\right)}\right) \\
&= 2^{n+1}-1 + 2^1 + 2^2 + \dots + 2^{\left(\frac{n}{2}\right)}+2^{\left(\frac{n}{2}\right)} \\
&= 2^{n+1}-1 + 2^{\left(\frac{n+2}{2}\right)} + 2^{\left(\frac{n}{2}\right)} - 2 \\ 
&= a_{n+1} + 2^{\left(\frac{n+2}{2}\right)} - 3
\end{align*}Either way, we have $S_n=a_{n+1}+\left(2^{\left\lfloor\frac{n}{2}+1\right\rfloor}-3\right)$. Now let $f(x)$ be $1$ if $x$ can be represented as a sum of one or more distinct terms of the sequence less than $x$ and $0$ if not. We wish to prove that infinitely many $i$ such that $f(a_i)=0$ and infinitely many $i$ such that $f(a_i)=1$.

Note that if $x$ and $y$ are not terms of the sequence, and $x+y=S_n$ then $f(x)=f(y)$ since we can just take the sum of all the terms of sequence we didn't use for $x$ in $y$. If $x$ is a term of the sequence then the result also holds if $x$ is exactly $a_{n+1}$.

For example, $f(a_5)=f(S_4-a_5)=f(5)=1$ and $f(a_{13})=f(S_{12}-a_{13})=f(125)=0$. Now, we have
\[f(a_{2k})=f(2^{k}-3)=f(2^{2k-2})=f(2^{4k-6}-3)=f(a_{8k-12})\]which implies the result.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
OronSH
1747 posts
#17
Y by
First, for $n \ge 2$ we see that $\sum_{i=0}^{2n-1}a_i=2^{2n}+2^{n+1}-3<2^{2n+1}<a_{2n+1}.$ Thus if $a_{2n+1}$ is representable its representation must have $a_{2n}.$ Now $a_{2n+1}$ is representable iff some subset of $a_i$ for $0\le i\le 2n-1$ to sum to $a_{2n+1}-a_{2n}=2^{2n}.$ Since we have $\sum_{i=0}^{2n-1}a_i=2^{2n}+2^{n+1}-3$ we see that if it is representable then its representation must have $a_i$ for all $n+1\le i\le 2n-1.$ We can check that $2^{2n}-\sum_{i=n+1}^{2n-1}a_i=2^{\frac{n+3}2}$ if $n$ is odd, and we can notice that $a_{n+1}>2^{\frac{n+3}2}.$ Thus for odd $n\ge 3,$ we see that $2^{2n}$ is representable iff $2^{\frac{n+3}2}$ is representable.

Now suppose there is a finite number of $i$ such that $a_{2i+1}$ is not representable. This is equivalent to there being a finite number of $i$ such that $2^{2i}$ is representable. Of these, consider the largest $i,$ which must exist and be greater than or equal to $6$ since we can check that $2^{12}$ is unrepresentable. Now if we have $2i=\frac{n+3}2,$ then we see that when $n=4i-3>i$ then $2^{2n}$ is representable, contradiction. Thus there are an infinite number of unrepresentable $a_i.$ We proceed in the same way to show that there are an infinite number of representable $a_i,$ except we use that the largest $i$ must exist and is greater than or equal to $2$ since $2^4$ is representable by $6+10=a_2+a_3.$
This post has been edited 2 times. Last edited by OronSH, Jan 17, 2024, 10:04 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Mathandski
757 posts
#18
Y by
$2^3, 2^4, \dots, 2^11$ are all possible to construct what the frick ;-;
Subjective Rating (MOHs) $       $
Attachments:
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Ilikeminecraft
631 posts
#19
Y by
We say a number is writeable if it can be written as the sum of two or more distinct previous terms. Note that $\sum_{k = 0}^{2n} a_k = 2^{2n + 1} + 2^{n + 1} + 2^n - 3,$ and $\sum_{k = 0}^{2n - 1} a_k = 2^{2n} + 2^{n + 1} - 3.$

I claim that $2^n - 3$ is writeable if and only if $a_{2n}$ is writeable. We have that $\sum_{k = 0}^{2n - 1} a_n - (2^n - 3) = 2^{2n} + 2^{n}.$

I claim that $2^{4n + 2} - 3$ is writeable if and only if $2^{n + 2} - 3$ is writeable. We have that $\sum_{k = 0}^{4n + 1} a_n - (2^{4n + 2} - 3) = 2^{4n + 2} + 2^{2n + 2} - 3 - 2^{4n + 2}+3 = 2^{2n + 2},$ but $\sum_{k = 0}^{2n + 1} a_k - 2^{2n + 2} = 2^{n + 2} - 3.$ This finishes, as we can provide at least one example of when it is writeable and when it isn't.
Z K Y
N Quick Reply
G
H
=
a