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

G
Topic
First Poster
Last Poster
k a April Highlights and 2025 AoPS Online Class Information
jlacosta   0
Apr 2, 2025
Spring is in full swing and summer is right around the corner, what are your plans? At AoPS Online our schedule has new classes starting now through July, so be sure to keep your skills sharp and be prepared for the Fall school year! Check out the schedule of upcoming classes below.

WOOT early bird pricing is in effect, don’t miss out! If you took MathWOOT Level 2 last year, no worries, it is all new problems this year! Our Worldwide Online Olympiad Training program is for high school level competitors. AoPS designed these courses to help our top students get the deep focus they need to succeed in their specific competition goals. Check out the details at this link for all our WOOT programs in math, computer science, chemistry, and physics.

Looking for summer camps in math and language arts? Be sure to check out the video-based summer camps offered at the Virtual Campus that are 2- to 4-weeks in duration. 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 events:
[list][*]April 3rd (Webinar), 4pm PT/7:00pm ET, Learning with AoPS: Perspectives from a Parent, Math Camp Instructor, and University Professor
[*]April 8th (Math Jam), 4:30pm PT/7:30pm ET, 2025 MATHCOUNTS State Discussion
April 9th (Webinar), 4:00pm PT/7:00pm ET, Learn about Video-based Summer Camps at the Virtual Campus
[*]April 10th (Math Jam), 4:30pm PT/7:30pm ET, 2025 MathILy and MathILy-Er Math Jam: Multibackwards Numbers
[*]April 22nd (Webinar), 4:00pm PT/7:00pm ET, Competitive Programming at AoPS (USACO).[/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
Sunday, Apr 13 - Aug 10
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
Sunday, Apr 13 - Aug 10
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
Monday, Apr 7 - Jul 28
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
Wednesday, Apr 16 - Jul 2
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
Thursday, Apr 17 - Jul 3
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
Wednesday, Apr 16 - Jul 30
Tuesday, May 6 - Aug 19
Wednesday, Jun 4 - Sep 17
Sunday, Jun 22 - Oct 19
Friday, Jul 18 - Nov 14

Introduction to Geometry
Wednesday, Apr 23 - Oct 1
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

Intermediate: Grades 8-12

Intermediate Algebra
Monday, Apr 21 - Oct 13
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
Friday, Apr 11 - Jun 27
Sunday, Jun 1 - Aug 24
Wednesday, Jun 18 - Sep 3

Precalculus
Wednesday, Apr 9 - Sep 3
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
Wednesday, Apr 16 - Jul 2
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
Friday, Apr 11 - Jun 27
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

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
Sat & Sun, Apr 26 - Apr 27 (4:00 - 7:00 pm ET/1:00 - 4:00pm PT)
Mon, Tue, Wed & Thurs, Jun 23 - Jun 26 (meets every day of the week!)
0 replies
jlacosta
Apr 2, 2025
0 replies
Intermediate Counting
RenheMiResembleRice   3
N 3 hours ago by Nab-Mathgic
A coin is flipped, a 6-sided die numbered 1 through 6 is rolled, and a 10-sided die numbered 0
through 9 is rolled. What is the probability that the coin comes up heads and the sum of the
numbers that show on the dice is 8?
3 replies
RenheMiResembleRice
Today at 7:46 AM
Nab-Mathgic
3 hours ago
Excalibur Identity
jjsunpu   12
N 3 hours ago by SomeonecoolLovesMaths
proof is below
12 replies
jjsunpu
Apr 3, 2025
SomeonecoolLovesMaths
3 hours ago
Inequalities
nhathhuyyp5c   3
N 4 hours ago by mathprodigy2011
Prove that for all positive real numbers \( a, b, c \), the following inequality holds:

\[
\sqrt{a + b} + \sqrt{b + c} + \sqrt{c + a} \geq \frac{4(ab + bc + ca)}{\sqrt{(a + b)(b + c)(c + a)}}
\]
3 replies
nhathhuyyp5c
Today at 4:45 AM
mathprodigy2011
4 hours ago
Inequalities
sqing   2
N 4 hours ago by DAVROS
Let $a,b$ be real numbers such that $ a^2+b^2+a^3 +b^3=4   . $ Prove that
$$a+b \leq 2$$Let $a,b$ be real numbers such that $a+b + a^2+b^2+a^3 +b^3=6 . $ Prove that
$$a+b \leq 2$$
2 replies
sqing
Yesterday at 1:10 PM
DAVROS
4 hours ago
No more topics!
AIME Problem
paladin8   19
N Jul 15, 2022 by fidgetboss_4000
Let $A$, $B$, $C$, and $D$ be the vertices of a regular tetrahedron, each of whose edges measures 1 meter. A bug, starting from vertex $A$, observes the following rule: at each vertex it chooses one of the three edges meeting at that vertex, each edge being equally likely to be chosen, and crawls along that edge to the vertex at its opposite end. Let $p = n/729$ be the probability that the bug is at vertex $A$ when it has crawled exactly 7 meters. Find the value of $n$.
19 replies
paladin8
Nov 25, 2003
fidgetboss_4000
Jul 15, 2022
AIME Problem
G H J
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
paladin8
3237 posts
#1 • 2 Y
Y by Adventure10, Mango247
Let $A$, $B$, $C$, and $D$ be the vertices of a regular tetrahedron, each of whose edges measures 1 meter. A bug, starting from vertex $A$, observes the following rule: at each vertex it chooses one of the three edges meeting at that vertex, each edge being equally likely to be chosen, and crawls along that edge to the vertex at its opposite end. Let $p = n/729$ be the probability that the bug is at vertex $A$ when it has crawled exactly 7 meters. Find the value of $n$.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
ComplexZeta
2853 posts
#2 • 3 Y
Y by Adventure10, Mango247, and 1 other user
With a bit of intuition, you can actually solve this problem with practically no math. After the bug has been going for a while, it will have roughly 1/4 chance of being at any of the four vertices. Since the probability is n/729, n is close to 729/4, or 182.25. 182 is your answer.

Now, that isn't very rigorous, and I checked that it was indeed correct by doing it properly. Nonetheless, if you don't know how to do a problem like this on the AIME or any other contest, this argument will almost always give you the correct answer. (I have yet to see a problem like this where this method doesn't work.)

I think I'll let someone else solve this problem properly before posting my solution.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
JBL
16123 posts
#3 • 2 Y
Y by Adventure10, Mango247
Wow, that's really cool. I'm sure it's possible to formulate a threshold for the number of moves on a given graph necessary to make that probability as close as it needs to be. A very interesting project, actually. Did you think that method up yourself, or did someone show it to you?
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
TripleM
1587 posts
#4 • 2 Y
Y by Adventure10, Mango247
Well seeing that I've done work on markov chains I could get an easy solution using that logic



But as for a simple solution.. well - I'm doing this as I go along so this message may not even end up being posted, but if you're reading this it must have been.. anyway..



Click to reveal hidden text
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
ComplexZeta
2853 posts
#5 • 2 Y
Y by Adventure10, Mango247
I came up with it myself after seeing way too many problems with answers round(2^n/3)/2^n.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
MysticTerminator
3697 posts
#6 • 2 Y
Y by Adventure10, Mango247
or, from MMM's recursion Click to reveal hidden text we derive the closed form Click to reveal hidden text.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
fairyofwind
156 posts
#7 • 2 Y
Y by Adventure10, Mango247
set it up as a communication network take powers of matrix to get number of paths through however many relays. divide.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
TripleM
1587 posts
#8 • 2 Y
Y by Adventure10, Mango247
Yeah, thats what I was saying about markov chains, same thing. But for this type of problem it is a lot easier to do it some other way.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
joml88
6343 posts
#9 • 2 Y
Y by Adventure10, Mango247
Can someone post a solution such that the post contains just the solution and no extraneous remarks?

Thanks

P.S. I'll delete this post after someone posts a solution.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
mna851
549 posts
#10 • 2 Y
Y by Adventure10, Mango247
Let $\ P_n$ be the probability that the bug is on vertex $\ A$ after $\ n$ moves. Clearly, this means $\ P_1 = 0$ and $\ P_2= \frac{1}{3}$ We can also define the recursion $\ P_n = 1/3(1- P_{n-1})$ , because on the move prior to move $\ n$ the bug must be at a point other than $\ A$. Now starting from $\ P_2 = 1/3$ we can repeat this recursion up to $\ P_7$ doing so we get $\ P_3 = \frac{2}{9}$ $\ P_4 = \frac{7}{27}$ $\ P_5 = \frac{20}{81}$ $\ P_6 = \frac{61}{243}$ and finally $\ P_7 = \frac{182}{729}$ So $\ n=182$
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Euler2718
2 posts
#11 • 2 Y
Y by Adventure10, Mango247
I did this with graph theory:
The tetrahedron is basically the graph K4, and has an adjacency matrix with 0's along its main diagonal and 1's everywhere else. Raise this matrix to the 7th power to find the number of paths of length 7 from any given vertex to another. This matrix has 546's along its main diagonal and 547's everywhere else. The number of length 7 A-A paths is then 546. Since we must start at A, our sample space lies in the first row of the matrix, which tells us that there are 546+3*547 paths of length 7 beginning at A. Therefore, the probability that a path of length 7 starting at A also ends at A is 546/(546+3*547) = 182/729, so n=182.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
mathwizarddude
1976 posts
#12 • 2 Y
Y by Adventure10, Mango247
Could someone please explain how the solution with graph theory (and matrices) work? Thanks!
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
grn_trtle
1281 posts
#13 • 2 Y
Y by Adventure10, Mango247
I learned today how Markov chains worked in my school's math club, which immediately reminded me of this problem, so I'm going to take a crack at it. (This might answer your question, mathwizarddude, about a matrix solution to this problem).

Solution with Markov chains
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
t0rajir0u
12167 posts
#14 • 2 Y
Y by Adventure10, Mango247
grn_trtle wrote:
Doing it by hand on the actual AIME is a piece of... steak—chewy, but delicious ;).
Proposition: The eigenvalues of the matrix you wrote down are $ 1, - \frac {1}{3}, - \frac {1}{3}, - \frac {1}{3}$.

Lemma: Let $ P$ be a stochastic matrix. The probability that after $ n$ steps you return to the same state as the state in which you started is the sum of the $ n^{th}$ powers of the eigenvalues of $ P$.

So...
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
grn_trtle
1281 posts
#15 • 2 Y
Y by Adventure10, Mango247
Very nice :)

Are there similar ways to find certain elements of the matrix after $ n$ steps? (If you wanted find the probability of going from one state to another state in $ n$ steps, without working out matrix exponentiation)
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
t0rajir0u
12167 posts
#16 • 2 Y
Y by Adventure10, Mango247
In general you'd either need to work directly with the matrix or compute eigenvectors. Closed walks are unique because they depend on the eigenvalues only. There is a theorem which tells you how to do this without computing eigenvectors, but it is somewhat indirect.

Theorem (4.7.2 in Stanley, Enumerative Combinatorics): For an adjacency matrix $ A$, let $ a_{ij}(n)$ denote the number of walks of length $ n$ from vertex $ i$ to vertex $ j$ and let $ A[ij]$ denote the matrix obtained from $ A$ by deleting the $ i^{th}$ column and $ j^{th}$ row. Then

$ \sum_{n \ge 0} a_{ij}(n) \lambda^n = \frac {( - 1)^{i + j} \det(I - \lambda A[ij]) }{\det(I - \lambda A) }$.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
OlympusHero
17019 posts
#17 • 1 Y
Y by WicMic
Note that from each vertex you can go to any of the other three. Now we go step by step.

First meter: 0 chance of going to A, 1 chance of going to B, C, D
Second meter: 1/3 chance of going to A, 2/3 chance of going to B, C, D
Third meter: 2/9 chance of going to A, 7/9 chance of going to B, C, D
Fourth meter: 7/27 chance of going to A, 20/27 chance of going to B, C, D
Fifth meter: 20/81 chance of going to A, 61/81 chance of going to B, C, D
Sixth meter: 61/243 chance of going to A, 182/243 chance of going to B, C, D
Seventh meter: $\boxed{\frac{182}{729}}$ chance of going to A.

Wow.
This post has been edited 2 times. Last edited by OlympusHero, Jan 22, 2022, 7:01 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
OlympusHero
17019 posts
#18
Y by
The answer to 2022 AMC 8 P25 is contained within this post.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
andlind
817 posts
#19
Y by
They are basically the same problem with different words with this one going longer so it makes sense that they go through the same numbers.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
fidgetboss_4000
3474 posts
#20
Y by
Solution
Z K Y
N Quick Reply
G
H
=
a