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
Can a 0-1 matrix square to the matrix with all ones?
Tintarn   3
N 5 hours ago by Kugelmonster
Source: IMC 2024, Problem 3
For which positive integers $n$ does there exist an $n \times n$ matrix $A$ whose entries are all in $\{0,1\}$, such that $A^2$ is the matrix of all ones?
3 replies
Tintarn
Aug 7, 2024
Kugelmonster
5 hours ago
Two times derivable real function
Valentin Vornicu   11
N Today at 7:26 AM by solyaris
Source: RMO 2008, 11th Grade, Problem 3
Let $ f: \mathbb R \to \mathbb R$ be a function, two times derivable on $ \mathbb R$ for which there exist $ c\in\mathbb R$ such that
\[ \frac { f(b)-f(a) }{b-a} \neq f'(c) ,\] for all $ a\neq b \in \mathbb R$.

Prove that $ f''(c)=0$.
11 replies
Valentin Vornicu
Apr 30, 2008
solyaris
Today at 7:26 AM
Limit with sin^2x
Quantum_fluctuations   7
N Today at 7:25 AM by P162008

Evaluate:

$\lim_{x \to 0} \left( 1^{1/\sin^2 x} + 2^{1/\sin^2 x} + 3^{1/\sin^2 x} + .  .  . + n^{1/\sin^2 x} \right)^{\sin^2 x}$
7 replies
Quantum_fluctuations
Apr 26, 2020
P162008
Today at 7:25 AM
Decimal number defined recursively by digit sums modulo 10
fermion13pi   2
N Today at 7:20 AM by solyaris
Source: Competição Elon Lages Lima
Consider the real number written in decimal notation:
r = 0.235831...
where, starting from the third digit after the decimal point, each digit is equal to the remainder when the sum of the previous two digits is divided by 10.

Which of the following statements is true?

(a) (10⁶⁰ - 1).r is an integer
(b) (10²⁵ - 1).r is an integer
(c) (10¹⁷ - 1).r is an integer
(d) r is an irrational algebraic number
(e) r is an irrational transcendental number

(Recall that a complex number is called algebraic if it is a root of a non-zero polynomial with integer coefficients.)
2 replies
fermion13pi
Yesterday at 11:14 PM
solyaris
Today at 7:20 AM
No more topics!
10101...101
CatalystOfNostalgia   14
N Apr 4, 2025 by Sagnik123Biswas
Source: Putnam
How many base ten integers of the form 1010101...101 are prime?
14 replies
CatalystOfNostalgia
Nov 11, 2007
Sagnik123Biswas
Apr 4, 2025
Source: Putnam
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
CatalystOfNostalgia
1479 posts
#1 • 2 Y
Y by Adventure10, Mango247
How many base ten integers of the form 1010101...101 are prime?
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
#2 • 3 Y
Y by Adventure10, Mango247, and 1 other user
Well...
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
pco
23508 posts
#3 • 2 Y
Y by Adventure10, Mango247
t0rajir0u wrote:
Well...

Unfortunately, t0rajir0u
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Fraenkel
341 posts
#4 • 2 Y
Y by Adventure10, Mango247
if $ n$ is even. the number is divisible by $ 101$
if $ n$ is odd. then $ \frac {10^{n + 1} - 1}{10 - 1}$ divides $ \frac {100^{n + 1} - 1}{100 - 1}$
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
pco
23508 posts
#5 • 2 Y
Y by Adventure10, Mango247
Fraenkel wrote:
if $ n$ is even. the number is divisible by $ 101$
if $ n$ is odd. then $ \frac {10^{n + 1} - 1}{10 - 1}$ divides $ \frac {100^{n + 1} - 1}{100 - 1}$

Could you be more clear ?

Are you speaking of $ S_n=\frac{10^{2n}-1}{99}$ ?

If so , you said :
If $ n$ is even, $ S_n$ is not prime.
If $ n$ is odd, $ S_{n+1}$ is not prime.

So you said twice that $ S_{2p}$ is not prime.

Do I miss something ?
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Fraenkel
341 posts
#6 • 2 Y
Y by Adventure10, Mango247
all numbers in the form $ 101010...101$ are trivially divisible by $ 101$ if there are an even number of $ 1$'s
$ 101$
$ 1010101$ and so on...

if there are an odd number of $ 1$'s. I am claiming that:
$ 10101...0101$ with $ k$ one's is divisible by$ 111111....111$ which is a number with $ k$ ones.
$ \frac{10101}{111}=91$
$ \frac{101010101}{11111}=9091$
$ \frac{1010101010101}{1111111}=909091$

As an exercise you should show this is true for all $ n$.


Hence by conclusion the only number prime is $ 101$
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
TaiPan~SP!
1039 posts
#7 • 2 Y
Y by Adventure10, Mango247
Let: $ N=1+10^{2}+.....+10^{2n} = \frac{10^{2n+2}-1}{99}= \frac{(10^{n+1}-1)(10^{n+1}+1)}{99}$

Hence $ 11N = (10^{n+1}+1)(1+10+10^{2} + ...... +10^{n})$

$ 11$ is prime so it divides one of the two expression on the RHS.

For $ n=1$: the second expression is $ 1+10 =11$ and $ N=101$ which is prime.

For all $ n \geq 2$ the two expressions are greater than $ 1$ and hence $ N$ can be written as the product of two integers greater than $ 1$. Hence $ N$ is composite.

Therefore $ N=101$ is the only prime number in the series.
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
#8 • 2 Y
Y by Adventure10, Mango247
pco wrote:
t0rajir0u wrote:
Well...

Unfortunately, t0rajir0u

My apologies. Let me modify my argument: when $ n$ is odd, $ \frac{10^n + 1}{10 + 1} | \frac{100^n - 1}{100 - 1}$.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
bertram
383 posts
#9 • 2 Y
Y by Adventure10, Mango247
This problem was also asked in the 4th round of the 2007 German math olympiad.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
TaiPan~SP!
1039 posts
#10 • 2 Y
Y by Adventure10, Mango247
bertram wrote:
This problem was also asked in the 4th round of the 2007 German math olympiad.

Apparantly this is also a question from the Senior Division of the New Zealand September Problem Set for selection to the NZIMO Camp.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
bwu
148 posts
#11 • 2 Y
Y by Adventure10 and 1 other user
thanks. this was an excellent problem and solution. :lol:
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Teki-Teki
553 posts
#12 • 1 Y
Y by Adventure10
Letting $ a_n = \sum_{i=0}^{n} 100^n$, we have $ a_{2n}$ with $ 2n+1$ 1's. and $ 2n$ 0's. Then $ a_{2n} + 100^n = a_n^2$, so it is just a difference of squares: $ a_{2n} = (a_n+10^n)(a_n-10^n)$. This suffices to prove Fraenkel's claim.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
SCP
1502 posts
#13 • 2 Y
Y by Adventure10, Mango247
So it can be posted as Putnam 1989/ A1 in contest togeter with all other ones. (?)

Remark that if $n>2$ then $99< 10^n-1,10^n+1$ and hence it has at least two prime factors, done.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
ZETA_in_olympiad
2211 posts
#14
Y by
Claim: There's only $1$ which is $101.$

Proof. Let $n$ be the number of 1s with $n\geq 2.$ Notice that,
$99(1010101\dots 101)=99\dots 999=10^{2n}-1=(10^n+1)(10^n-1).$

So our required primes must divide $10^n\pm 1$, implying that
$\frac{99}{10^n\pm 1}=\frac{10^n\mp 1}{10101\dots 101}$ is an integer.
This is true iff $n=2$, thus the prime is $\boxed{101}$.
This post has been edited 1 time. Last edited by ZETA_in_olympiad, Apr 5, 2022, 10:11 AM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Sagnik123Biswas
420 posts
#15
Y by
If $n$ is odd, then $a_n = \frac{10^n + 1}{11} \times \frac{10^n-1}{9}$. If $n = 1$, then $a_n = 1$. Otherwise, $\frac{10^n + 1}{11}$ and $\frac{10^n-1}{9}$ are both integers larger than $1$. None of these are prime

If $n$ is even, then $a_n \equiv \sum_{i=0}^{n-1} (-1)^{i}  \equiv 0 \pmod{101}$. So it follows that only $a_2$ is prime since $a_n > 101$ for $n > 2$.

So only $101$ is prime.
Z K Y
N Quick Reply
G
H
=
a