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
Inspired by lgx57
sqing   6
N 4 minutes ago by sqing
Source: Own
Let $ a,b\geq 0 $ and $\frac{1}{a^2+b}+\frac{1}{b^2+a}=1.  $ Prove that
$$a^2+b^2-a-b\leq 1$$$$a^3+b^3-a-b\leq \frac{3+\sqrt 5}{2}$$$$a^3+b^3-a^2-b^2\leq \frac{1+\sqrt 5}{2}$$
6 replies
sqing
an hour ago
sqing
4 minutes ago
Arithmetic progression
BR1F1SZ   2
N 10 minutes ago by NicoN9
Source: 2025 CJMO P1
Suppose an infinite non-constant arithmetic progression of integers contains $1$ in it. Prove that there are an infinite number of perfect cubes in this progression. (A perfect cube is an integer of the form $k^3$, where $k$ is an integer. For example, $-8$, $0$ and $1$ are perfect cubes.)
2 replies
BR1F1SZ
Mar 7, 2025
NicoN9
10 minutes ago
Number Theory Chain!
JetFire008   51
N 19 minutes ago by Primeniyazidayi
I will post a question and someone has to answer it. Then they have to post a question and someone else will answer it and so on. We can only post questions related to Number Theory and each problem should be more difficult than the previous. Let's start!

Question 1
51 replies
JetFire008
Apr 7, 2025
Primeniyazidayi
19 minutes ago
Injective arithmetic comparison
adityaguharoy   1
N 37 minutes ago by Mathzeus1024
Source: Own .. probably own
Show or refute :
For every injective function $f: \mathbb{N} \to \mathbb{N}$ there are elements $a,b,c$ in an arithmetic progression in the order $a<b<c$ such that $f(a)<f(b)<f(c)$ .
1 reply
1 viewing
adityaguharoy
Jan 16, 2017
Mathzeus1024
37 minutes ago
IMC 2018 P1
ThE-dArK-lOrD   3
N 3 hours ago by Fibonacci_math
Source: IMC 2018 P1
Let $(a_n)_{n=1}^{\infty}$ and $(b_n)_{n=1}^{\infty}$ be two sequences of positive numbers. Show that the following statements are equivalent:
[list=1]
[*]There is a sequence $(c_n)_{n=1}^{\infty}$ of positive numbers such that $\sum_{n=1}^{\infty}{\frac{a_n}{c_n}}$ and $\sum_{n=1}^{\infty}{\frac{c_n}{b_n}}$ both converge;[/*]
[*]$\sum_{n=1}^{\infty}{\sqrt{\frac{a_n}{b_n}}}$ converges.[/*]
[/list]

Proposed by Tomáš Bárta, Charles University, Prague
3 replies
ThE-dArK-lOrD
Jul 24, 2018
Fibonacci_math
3 hours ago
Infinite series involving tau function
bakkune   1
N 3 hours ago by Safal
For each positive integer $n$, let $\tau(n)$ be the number of positive divisors of $n$. Evaluate
$$
\sum_{n=1}^{+\infty} (-1)^n \frac{\tau(n)}{n}
$$
1 reply
bakkune
Today at 4:35 AM
Safal
3 hours ago
two solutions
τρικλινο   4
N 5 hours ago by Safal
in a book:CORE MATHS for A-LEVEL ON PAGE 41 i found the following


1st solution


$x^2-5x=0$



$ x(x-5)=0$



hence x=0 or x=5



2nd solution



$x^2-5x=0$

$x-5=0$ dividing by x



hence the solution x=0 has been lost



is the above correct?
4 replies
τρικλινο
Yesterday at 6:20 PM
Safal
5 hours ago
high school math
aothatday   5
N Today at 3:32 AM by aothatday
Let $x_n$ be a positive root of the equation $x_n^n=x^2+x+1$. Prove that the following sequence converges: $n^2(x_n-x_{ n+1})$
5 replies
aothatday
Apr 10, 2025
aothatday
Today at 3:32 AM
Putnam 2003 B1
btilm305   13
N Today at 12:08 AM by clarkculus
Do there exist polynomials $a(x)$, $b(x)$, $c(y)$, $d(y)$ such that \[1 + xy + x^2y^2= a(x)c(y) + b(x)d(y)\] holds identically?
13 replies
btilm305
Jun 23, 2011
clarkculus
Today at 12:08 AM
High School Integration Extravaganza Problem Set
Riemann123   12
N Yesterday at 5:20 PM by jkim0656
Source: River Hill High School Spring Integration Bee
Hello AoPS!

Along with user geodash2, I have organized another high-school integration bee (River Hill High School Spring Integration Bee) and wanted to share the problems!

We had enough folks for two concurrent rooms, hence the two sets. (ARML kids from across the county came.)

Keep in mind that these integrals were written for a high-school contest-math audience. I hope you find them enjoyable and insightful; enjoy!


[center]Warm Up Problems[/center]
\[
\int_{1}^{2} \frac{x^{3}+x^2}{x^5}dx
\]\[\int_{2025}^{2025^{2025}}\frac{1}{\ln\left(2025\right)\cdot x}dx\]\[
\int(\sin^2(x)+\cos^2(x)+\sec^2(x)+\csc^2(x))dx
\]\[
\int_{-2025.2025}^{2025.2025}\sin^{2025}(2025x)\cos^{2025}(2025x)dx
\]\[
    \int_{\frac \pi 6}^{\frac \pi 3} \tan(\theta)^2d\theta
\]\[
\int  \frac{1+\sqrt{t}}{1+t}dt
\]-----
[center]Easier Division Set 1[/center]
\[\int \frac{x^{2}+2x+1}{x^{3}+3x^{2}+3x+3}dx
\]\[\int_{0}^{\frac{3\pi}{2}}\left(\frac{\pi}{2}-x\right)\sin\left(x\right)dx\]\[
\int_{-\pi/2}^{\pi/2}x^3e^{-x^2}\cos(x^2)\sin^2(x)dx
\]\[
\int\frac{1}{\sqrt{12-t^{2}+4t}}dt
\]\[
\int \frac{\sqrt{e^{8x}}}{e^{8x}-1}dx
\]-----
[center]Easier Division Set 2[/center]
\[
\int \frac{e^x}{e^{2x}+1} dx
\]\[
\int_{-5}^5\sqrt{25-u^2}du
\]\[
\int_{-\frac12}^\frac121+x+x^2+x^3\ldots dx
\]\[\int \cos(\cos(\cos(\ln \theta)))\sin(\cos(\ln \theta))\sin(\ln \theta)\frac{1}{\theta}d\theta\]\[\int_{0}^{\frac{1}{6}}\frac{8^{2x}}{64^{2x}-8^{\left(2x+\frac{1}{3}\right)}+2}dx\]-----
[center]Harder Division Set 1[/center]
\[\int_{0}^{\frac{\pi}{2}}\frac{\sin\left(x\right)}{\sin\left(x\right)+\cos\left(x\right)}+\frac{\sin\left(\frac{\pi}{2}-x\right)}{\sin\left(\frac{\pi}{2}-x\right)+\cos\left(\frac{\pi}{2}-x\right)}dx\]\[
\int_0^{\infty}e^{-x}\Bigl(\cos(20x)+\sin(20x)\Bigr) dx
\]\[
\lim_{n\to \infty}\frac{1}{n}\int_{1}^{n}\sin(nt)^2dt
\]\[
\int_{x=0}^{x=1}\left( \int_{y=-x}^{y=x} \frac{y^2}{x^2+y^2}dy\right)dx
\]\[
\int_{0}^{13}\left\lceil\log_{10}\left(2^{\lceil x\rceil }x\right)\right\rceil dx
\]-----
[center]Harder Division Set 2[/center]
\[
\int \frac{6x^2}{x^6+2x^3+2}dx
\]\[
\int -\sin(2\theta)\cos(\theta)d\theta
\]\[
\int_{0}^{5}\sin(\frac{\pi}2 \lfloor{x}\rfloor x) dx
\]\[
\int_{0}^{1} \frac{\sin^{-1}(\sqrt{x})^2}{\sqrt{x-x^2}}dx
\]\[
\int\left(\cot(\theta)+\tan(\theta)\right)^2\cot(2\theta)^{100}d\theta
\]-----
[center]Bonanza Round (ie Fun/Hard/Weird Problems) (In No Particular Order)[/center]
\[
\int \ln\left\{\sqrt[7]{x}^\frac1{\ln\left\{\sqrt[5]{x}^\frac1{\ln\left\{\sqrt[3]{x}^\frac1{\ln\left\{\sqrt{x}\right\}}\right\}}\right\}}\right\}dx
\]\[\int_{1}^{{e}^{\pi}} \cos(\ln(\sqrt{u}))du\]\[
\int_e^{\infty}\frac {1-x\ln{x}}{xe^x}dx
\]\[\int_{0}^{1}\frac{e^{x}}{\left(x^{2}+3x+2\right)^{\frac{1}{2^{1}}}}\times\frac{e^{-\frac{x^{2}}{2}}}{\left(x^{2}+3x+2\right)^{\frac{1}{2^{2}}}}\times\frac{e^{\frac{x^{3}}{3}}}{\left(x^{2}+3x+2\right)^{\frac{1}{2^{3}}}}\times\frac{e^{-\frac{x^{4}}{4}}}{\left(x^{2}+3x+2\right)^{\frac{1}{2^{4}}}} \ldots \,dx\]
For $x$ on the domain $-0.2025\leq x\leq 0.2025$ it is known that \[\displaystyle f(x)=\sin\left(\int_{0}^x \sqrt[3]{\cos\left(\frac{\pi}{2} t\right)^3+26}\ dt\right)\]is invertible. What is $\displaystyle (f^{-1})'(0)$?
12 replies
Riemann123
Friday at 2:11 PM
jkim0656
Yesterday at 5:20 PM
limiting behavior of the generalization of IMO 1968/6 for arbitrary powers
revol_ufiaw   1
N Yesterday at 3:17 PM by alexheinis
Source: inspired by IMO 1968/6
Define $f : \mathbb{N} \rightarrow \mathbb{N}$ by
\[f(n) = \sum_{i\ge 0} \bigg\lfloor \frac{n + a^i}{a^{i+1}}\bigg\rfloor=\bigg\lfloor \frac{n + 1}{a} \bigg\rfloor + \bigg\lfloor \frac{n + a}{a^2} \bigg\rfloor + \bigg\lfloor \frac{n + a^2}{a^3} \bigg\rfloor + \cdots\]for some fixed $a \in \mathbb{N}$. Prove that
\[\lim_{n \rightarrow \infty} \frac{f(n)}{n/(a-1)} = 1.\]
[P.S.: IMO 1968/6 asks to prove $f(n) = n$ for $a = 2$.]
1 reply
revol_ufiaw
Yesterday at 1:43 PM
alexheinis
Yesterday at 3:17 PM
Putnam 2015 B4
Kent Merryfield   22
N Yesterday at 2:58 PM by lpieleanu
Let $T$ be the set of all triples $(a,b,c)$ of positive integers for which there exist triangles with side lengths $a,b,c.$ Express \[\sum_{(a,b,c)\in T}\frac{2^a}{3^b5^c}\]as a rational number in lowest terms.
22 replies
Kent Merryfield
Dec 6, 2015
lpieleanu
Yesterday at 2:58 PM
A real analysis Problem from contest
Safal   2
N Yesterday at 11:17 AM by Safal
Source: Random.
Let $f: (0,\infty)\rightarrow \mathbb{R}$ be a function such that $$\lim_{x\rightarrow \infty} f(x)=1$$and $$f(x+1)=f(x)$$for all $x\in (0,\infty)$

Prove or disprove the following statements.

1.$f$ is continuous.
2.$f$ is bounded.

Is My Idea correct?
2 replies
Safal
Yesterday at 8:34 AM
Safal
Yesterday at 11:17 AM
maximal determinant
EthanWYX2009   4
N Yesterday at 10:59 AM by loup blanc
Source: 2023 Aug taca-9
Let matrix
\[A=\begin{bmatrix} 1&1&1&1&1\\1&-1&1&-1&1\\?&?&?&?&?\\?&?&?&?&?\\?&?&?&?&?\end{bmatrix}\in\mathbb R^{5\times 5}\]satisfy $\text{tr} (AA^T)=28.$ Determine the maximum value of $\det A.$
4 replies
EthanWYX2009
Apr 9, 2025
loup blanc
Yesterday at 10:59 AM
x is rational implies y is rational
pohoatza   43
N Mar 31, 2025 by quantam13
Source: IMO Shortlist 2006, N2, VAIMO 2007, Problem 6
For $ x \in (0, 1)$ let $ y \in (0, 1)$ be the number whose $ n$-th digit after the decimal point is the $ 2^{n}$-th digit after the decimal point of $ x$. Show that if $ x$ is rational then so is $ y$.

Proposed by J.P. Grossman, Canada
43 replies
pohoatza
Jun 28, 2007
quantam13
Mar 31, 2025
x is rational implies y is rational
G H J
Source: IMO Shortlist 2006, N2, VAIMO 2007, Problem 6
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
pohoatza
1145 posts
#1 • 11 Y
Y by Davi-8191, Math-Ninja, Adventure10, megarnie, centslordm, erfanmohseni2022, OronSH, Mango247, and 3 other users
For $ x \in (0, 1)$ let $ y \in (0, 1)$ be the number whose $ n$-th digit after the decimal point is the $ 2^{n}$-th digit after the decimal point of $ x$. Show that if $ x$ is rational then so is $ y$.

Proposed by J.P. Grossman, Canada
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
edriv
232 posts
#2 • 9 Y
Y by Pluto1708, hakN, Adventure10, centslordm, Mathlover_1, Mango247, MS_asdfgzxcvb, and 2 other users
Let $f(n)$, $n=1,2,\ldots$ be the decimal representation of x. Then the decimal representation of y is $g(n) = f(2^{n})$.
x is rational, therefore the sequence is eventually periodic, that is, there are $t,x_{0}\in \mathbb{N}^{+}$ such that for all $x > x_{0}$ we have $f(x) = f(x+t)$.
By induction, we get that for all $x,y>x_{0}$ such that $t \mid x-y$ we have $f(x) = f(y)$.

Let's write $t = 2^{k}d$, with k nonnegative and d odd.
For all $x>k$, we have $t \mid 2^{x+\phi(d)}-2^{x}= 2^{x}(2^{\phi(d)}-1)$ because $2^{k}\mid 2^{x}$ and ${d \mid 2^{\phi(d)}-1}$.
Therefore, for all $x>\mbox{max}(k,x_{0})$ we have $f(2^{x+\phi(d)}) = f(2^{x})$, and finally $g(x+\phi(d)) = g(x)$.
So, also $g(x)$ is eventually periodic.
And y is rational :)
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
bulingchen
1 post
#3 • 3 Y
Y by centslordm, Adventure10, Mango247
g(n)=f(2^n)

let d be the period of x

then d*2^n is also a period of x

x:1,2,...,d;d+1,d+2,...,2d;......;d*2^n-(d-1),...,d*2^n;......
y: 1 2 ...... d ......
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
mathbuzz
803 posts
#4 • 2 Y
Y by centslordm, Adventure10
$x$ is rational .Suppose , the decimal representation of $x$ contains infinitely many non-zero digits after decimal.
So , the digits in its decimal representation eventually will appear periodically.
let , the minimal period be $k$ (after the digits start appearing periodically)
hence , there exists some $M\in N$ such that , for $n_1 , n_2 \ge M$ ,
$2^{n_1}$th and $2^{n_2}$th digits after decimal are equal in the decimal representation of $x$ if
$2^{n_1}=2^{n_2}(mod k)$ .
Say , $k=2^p.q$ where $p\ge 0$ and $q$ is odd .
Now , note that , $2^{n_1}=2^{n_2} (mod k) $ if and only if $n_1=n_2(mod r)$
where $r$= order of 2 moduldo $q$.
So , there exists $M$ such that , for $n_1,n_2 \ge M$ , $n_1$ and $n_2$th digit in the decimal representation of $y$ are equal if and only if $n_1=n_2(mod r)$ . hence , y is rational .

On the other hand , if $x$ contains only finitely many non-zero digits after the decimal place , then y also contains only finitely many non-zero digits after decimal , hence y is rational in this case too . :)
This post has been edited 1 time. Last edited by mathbuzz, Nov 25, 2015, 9:28 AM
Reason: small error fixed
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Sketshup
6 posts
#5 • 3 Y
Y by centslordm, Adventure10, Mango247
if $x$ is rationnal, then either its decimal representation contains a finite number of digits, or it's digits sequence is eventually periodic, after a certain number of first digits.

Dealing with the first case is not difficult at all: since $x$ has an $m$ finite number of digits after the decimal point, then $y$ has at most $\log{m}$ digits after the dot point, hence $y$ is rationnal as well.

Let's move to the second case. Since $x$ has infinitly many digits after the decimal point, $y$ has also infinitly many digits. So it remains to prove that, if the digits of $x$ are eventually periodic, so are the digits of $y$.

Note $K$ the period of the digits of $x$. It's enough to prove that $(2^n)$ is eventually periodic modulo $K$. If $K$ is a power of $2$, say $K=2^a$, then eventually the sequence will be congruent to $0$ mod $K$. If $K$ is not a power of 2. Set $K = 2^a.m$ where m is an odd integer.

Suppose the assumption is true. That is $(2^n)$ is eventually periodic modulo $K$. This is equivalent to the following: there exists an integer $j$ such that starting from an $n$ sufficiently large we get for all $N > n$, $2^{N+j} = 2^N [K]$, or $2^{N+j-a} = 2^{N-a} [q]$, or $j = 0[ord_2(q)]$. Thus, taking $j = ord_2(q)$, the assumption remains true, and thus the sequence $(2^n)$ is eventually periodic modulo $K$.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
MathPanda1
1135 posts
#6 • 5 Y
Y by Chandrachur, BaronPit, centslordm, Adventure10, Mango247
Sketshup wrote:
Note $K$ the period of the digits of $x$. It's enough to prove that $(2^n)$ is eventually periodic modulo $K$. If $K$ is a power of $2$, say $K=2^a$, then eventually the sequence will be congruent to $0$ mod $K$. If $K$ is not a power of 2. Set $K = 2^a.m$ where m is an odd integer.

It seems like everyone let $K = 2^a \cdot m$, but the following solution will not (so is it right?):

Consider $2^1, 2^2, ..., 2^{K+1} \pmod K$. There are $K+1$ numbers in this sequence, so by Pigeonhole Principle, there exists $a$ and $b$ ($a<b$) such that $2^a \equiv 2^b \pmod K$. Thus, $2^{a+i} \equiv 2^{b+i} \pmod K$ for all nonnegative integers $i$ i.e. $2^{n} \equiv 2^{n+b-a} \pmod K$ for all sufficiently large $n$ i.e. $(2^n)$ is eventually periodic modulo $K$.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
droid347
2679 posts
#7 • 3 Y
Y by centslordm, Adventure10, Mango247
We begin with a lemma.

LEMMA. If $t\in (0,1)$ is rational, then the decimal representation of $t$ repeats after some time, and vice versa.

Proof. The backwards direction is well known. For the forwards direction, assume there are $j$ non-repeating digits before the “block” of repeating digits. We can simply take $\frac{l}{10^j}+\frac{m}{10^j}$ for appropriate the appropriate $l$, which is clearly rational, and for $m\in (0,1)$, a repeating decimal that begins repeating immediately. Thus, we only need to prove for repeating decimals that begin to repeat immediately.

We denote the number of digits after which the decimal representation of $m$ repeats to be $r$. However, note that we have $r=p\cdot w$, where $p$ is a positive integer in $[1, 10^{r}-1]$ and $w=\overline{0.00\ldots 0100\ldots 0100\ldots 0100\ldots}$ where there are $r-1$ zeroes between each pair of ones. We can show that $w$ is rational by summing the geometric sequence $\frac{1}{10^r}+\frac{1}{10^{2r}}+\frac{1}{10^{3r}}\ldots=\dfrac{\frac{1}{10^r}}{1-\frac{1}{10^r}}$ with a well-known formula, which is rational. $\square$

Now, for the problem, note that by the lemma we only need to prove that $y$ repeats; but this is equivalent to proving that $2^n \pmod{r}$ cycles as $n$ increases over positive integers for positive integer $r$. However, by Euler’s totient theorem, we have $2^{\phi(r)}\equiv 1\pmod{r}$, 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.
LMat
42 posts
#8 • 3 Y
Y by centslordm, Adventure10, Mango247
Is this question basically asking if $2^n$ is eventually periodic modulo any number? I thought that would just go without saying since there is a finite number of remainders and multiplying a number with a particular remainder by $2$ always produces the same new remainder?
This post has been edited 1 time. Last edited by LMat, Sep 29, 2017, 1:44 PM
Reason: Inlining latex
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Wizard_32
1566 posts
#9 • 2 Y
Y by centslordm, Adventure10
LMat wrote:
Is this question basically asking if $2^n$ is eventually periodic modulo any number? I thought that would just go without saying since there is a finite number of remainders and multiplying a number with a particular remainder by $2$ always produces the same new remainder?
Yep, that's why this problem is nearly trivial.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Wizard_32
1566 posts
#10 • 6 Y
Y by third_one_is_jerk, centslordm, Pratik12, wasikgcrushedbi, Adventure10, Flint_Steel
My solution:
Let $x=0.x_1x_2x_3 \cdots$ Since $x$ is rational, hence we can write $x=0.\overline{x_1x_2 \cdots x_m}$. Then $y=0.x_2x_4x_8x_{16} \cdots$
Now, it is easy to see that if $i \equiv j \pmod{m}$, then $x_{i}=x_j$. Thus it suffices to show that the sequence $\langle 2^{n} \rangle_{n=1}^{\infty}$ is periodic modulo any number $m$. This is clear by the pigeonhole principle, since we must have $2^k \equiv 2^l \pmod{m}$ for some $k \ne l$, and this clearly implies that the sequence is periodic. $\blacksquare$
This post has been edited 2 times. Last edited by Wizard_32, Apr 19, 2018, 6:03 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
#12 • 5 Y
Y by centslordm, Adventure10, Mango247, Mango247, Mango247
Lemma: The sequence of digits of the decimal expansion of a number is periodic iff the number is rational.

Proof of Lemma: The only if direction is very easy, since if the decimal expansion is periodic, we can write the number as an infinite geometric series, which we know sums to a rational number. Now let us prove the if direction. Consider long dividing $m/n$. We will get a sequence of remainders:
\begin{align*}
10m&=q_1n+r_1 \\
10r_1&=q_2n+r_2 \\
10r_2&=q_3n+r_3 \\
&\vdots
\end{align*}The sequence $q_1,q_2,\ldots$ are the digits of $m/n$. Since $0 \le r_i \le n-1$, by pigeonhole, there must exist $r_i=r_j$, and hence $q_i=q_j$, for some $0\le i,j\le n$, $i\not = j$. Then $q_{i+k}=q_{j+k}$ for all $k\ge 1$. Hence, the sequence of digits is periodic. $\square$

Let $k$ be the period of the decimal expansion of $x$. In order to show that $y$ is rational, we must show that its decimal expansion is periodic. This is equivalent to showing that $2^n$ is periodic $\pmod{k}$. Since $2^{\phi(k)} \equiv 1 \pmod{k}$, the sequence $2^n \pmod{k}$ must be periodic.
This post has been edited 2 times. Last edited by pad, Feb 5, 2019, 6:48 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
AlastorMoody
2125 posts
#13 • 7 Y
Y by Pluto1708, mueller.25, Purple_Planet, cadaeibf, centslordm, Adventure10, Mango247
Solution
This post has been edited 1 time. Last edited by AlastorMoody, Oct 1, 2019, 7:49 PM
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
#14 • 3 Y
Y by animath_314159, centslordm, Mango247
Let $x_k$ and $y_k$ denote the $k$-th digits of $x$ and $y$ respectively. Obviously $y_k = x_{2^k}$. It is well known that a number rational if and only if its decimal representation is eventually periodic.

We shall invoke this fact repeatedly. Let $T_1$ be the period of the decimal representation of $x$ and write $T_1 = 2^n m$ for an odd integer $m$. Let $T = \varphi(m)$. I claim that the decimal representation of $y$ repeats with period $\varphi(m)$. Observe that
\[ a \equiv b \mod{T} \implies 2^a \equiv 2^b \pmod{m} . \]If $a$ and $b$ are larger than $n$ we can conclude the stronger $2^a \equiv 2^b \pmod{T_1}$ since they are both divisible by $2^n.$. Thus if $a \equiv b \pmod{m}$ for big enough $a,b$, then $x_{2^a} = y_{2^b}$. Immediately $y_a = y_b$. Hence the decimal representation is periodic. Hence $y \in \mathbb{Q}$.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
brainiacmaniac31
2170 posts
#15 • 1 Y
Y by centslordm
Storage
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
isaacmeng
113 posts
#16 • 1 Y
Y by centslordm
It is trivial that $x\in\mathbb{Q}\iff x\text{ has terminating or eventually periodic digits}$. When $x$ has terminating digits, the problem is trivial, otherwise write $x=0.a_1\cdots a_kb_1\cdots b_lb_1\cdots b_lb_1\cdots b_l\cdots$, where $b_1\cdots b_l$ is the repeating part. Notice an obvious fact, that the sequence $(f_n)_{n=1}^{\infty}$ defined by: $f_1$ arbitrary, and $\forall n\ge 1$, $f_{n+1}$ is the residue then $2f_n$ is divided by $m$, must be periodic. Then \[y=0. a_2 a_4 \cdots a_{2^{[log_2 k]}}b_{2^{[log_2k]+1}-k} \cdots.\]By the above claim, set $f_1=2^{[log_2k]+1}-k$ we can see that $y$ must be eventually periodic.
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
#17 • 1 Y
Y by centslordm
Notice that as $x$ is rational its decimal is eventually periodic with say period $p \in \mathbb{N}$ and notice that $2^k$ is also periodic $\pmod{p}$ meaning that the decimal representation of $y$ is also eventually periodic and $y \in \mathbb{Q}$. $\blacksquare$
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
hakN
429 posts
#18 • 1 Y
Y by centslordm
It is well known that a number is rational iff its decimal representation is periodic.
So since $x$ is rational, let $m$ be the length of the period of $x$.
But, since $2^k \pmod{m}$ is periodic, the decimal representation of $y$ is periodic, implying that $y$ is rational.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
SPHS1234
466 posts
#19
Y by
Let $x$ have period length $n=2^a.b$ where $b$ is odd.Then $y $ will be periodic from the $a^{th}$ digit after the decimal point with a period $\phi (b)$ because
$$2^{a+\phi(b)} \equiv 2^a \pmod{2^a.b}$$
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
oVlad
1731 posts
#20 • 1 Y
Y by pavel kozlov
Assume $x$ has some random digits after the decimal point and then periodic of period $k.$

Then, $y$ will also have some random digits and then, it will be periodic of period $\varphi(k)$ because \[i\equiv j\bmod{\varphi(k)}\iff 2^i\equiv 2^j\bmod{k}\]for big enough $i$ and $j,$ that is, $i$ and $j$ greater than $\nu_2(k).$
This post has been edited 1 time. Last edited by oVlad, Oct 25, 2021, 12:22 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
554183
484 posts
#21
Y by
Let $x$ have period $\ell$. Note that $2^y$ eventually cycles modulo $\ell$, since if $\ell$ is even, then we are trivially done. If $\ell$ is odd, we have $2^{\phi(\ell)} \equiv{1} \pmod{\ell}$ and therefore $2^{a+\phi(\ell)} \equiv{2^a} \pmod{\ell}$
This post has been edited 1 time. Last edited by 554183, Nov 5, 2021, 2:08 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
megarnie
5560 posts
#22
Y by
ISL marabot solve

This is obvious if $x$ has finitely many digits after the decimal point, because it also implies that $y$ has finitely many digits after the decimal point.

If $x$ has infinitely many digits after the decimal point, then let its period be $k$. For odd $k$, this is obvious as $2^n$ cycles $\pmod k$ since $2^{\phi(k)}\equiv 1\pmod k$. Now consider what happens if $k$ is even. Then let $k=2^l m$ where $m$ is odd. After a certain point, when $n$ exceeds $l$, $2^n$ will cycle $\pmod k$. So $y$ is also rational.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
bluelinfish
1446 posts
#23
Y by
Just a little easy for an N2.

Note that if $x$ is rational, after a certain amount $C$ of decimal places the decimal representation of $x$ is periodic (including possibly all zeroes). Let this period be $P$. Consider the decimal places of $y$ past $\log_2 C$. Now observe that for $n$ greater than this quantity the $n$th decimal place of $y$ is completely determined by $2^n$ modulo $P$. It is easy to see that $2^n$ modulo $P$ is periodic, thus after $\log_2 C$ decimal places the decimal representation of $y$ is periodic, proving it is rational.
This post has been edited 1 time. Last edited by bluelinfish, Apr 7, 2022, 12:09 AM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
cj13609517288
1883 posts
#24
Y by
Because $x$ is rational, at one point, it must start repeating. Let the period of the repeating be $k$. Let $m$ be the least positive integer $n$ such that the $2^n$-th digit after the decimal point of $x$ is part of the repeating. We know that at least two of $2^m,2^{m+1},\dots,2^{m+k}$ are equivalent mod $k$, so let the exponents of those two numbers be $a$ and $b$. We can see that the $2^{a+1}$-th and the $2^{b+1}$-th digits in $x$ are equal and so on, meaning that $y$ now repeats with a period of $b-a$, meaning that it is rational. QED.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Mogmog8
1080 posts
#25 • 1 Y
Y by centslordm
Suppose $x$ is rational. Notice after some amount of digits which do not repeat, $x$ repeats with period $t.$ It suffices to show this is also the case for $y.$ We claim there exists a constant $k$ such that $2^i\equiv 2^{i+k}\pmod{t}$ for sufficiently large $i.$ Indeed, let $t=2^ab$ where $2\nmid b,$ and suppose $i\ge a.$ Then, there exists $k$ such that $$2^k\equiv 1\pmod{b}\implies 2^{k+i-a}\equiv 2^{i-a}\pmod{b}\implies 2^{k+i}\equiv 2^i\pmod{2^ab}.$$Hence, $y$ is also eventually periodic and we are done. $\square$
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
awesomeming327.
1692 posts
#26
Y by
HUh

If $x$ eventually terminates we are done because $y$ eventually terminates. Otherwise let $x=0.\bar{d_1d_2d_3\dots d_k}.$ Since $2^i$ is periodic mod $k$ we're done because then the digits of $y$ are periodic.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
metricpaper
54 posts
#27
Y by
Let $x=\Sigma_{i=1}^{\infty} 10^{-i} a_i$, where for all $i$, we have $a_i\in \{0,1,\dots,9\}$. Then $y=\Sigma_{i=1}^{\infty} 10^{-i} a_{2^i}$. Note that if $x$ is a terminating decimal, then so is $y$, and then $y$ is automatically rational. Else $x$ is a repeating decimal, so suppose that the digits of $x$ have a period of $r$, i.e. suppose that if $i\equiv j\pmod{r}$ then $a_i=a_j$.

Note that $2^i\equiv 2^{i+\phi(r)}\pmod{r}$ for every $i\in \mathbb{Z}_{\geq 0}$, since $2^\phi(r)\equiv 1\pmod{r}$ by Euler's theorem. So for every $i\equiv j\pmod{\phi(r)}$, we have $2^i\equiv 2^j\pmod{r}$, which means that $a_{2^i}=a_{2^j}$. Therefore the sequence $(a_{2^i})_{i=0}^{\infty}$ is periodic with period $\phi(r)$, so $y\in \mathbb{Q}$.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
JAnatolGT_00
559 posts
#28 • 1 Y
Y by PRMOisTheHardestExam
Since $x\in \mathbb{Q}$ sequence of it's digits after the decimal point has period $m$, starting from some position. Thus for some big $k$ the $k-\text{th}$ digit of $y$ depends on remainder $a_i$ of $2^k$ mod $m$. But $\left \{ a_i\right \}$ is clearly periodic from some member, implying $y\in \mathbb{Q}.$
This post has been edited 1 time. Last edited by JAnatolGT_00, Sep 7, 2022, 1:37 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
SatisfiedMagma
457 posts
#29
Y by
Solution: The solution is a casework on whether the decimal expansion of $x$ terminates or not.

Case 1: $x$ terminates in its decimal expansion.

Say $x = 0.a_1a_2\ldots a_k$ where $a_i$ is a digit for $i \in [1,k]$. Let $\alpha$ be a number such that $2^{\alpha} \le k < 2^{\alpha+1}$. Observe that that the first $\alpha$ digits of $y$ will be $a_2, a_4, \ldots, a_{2^{\alpha}}$. Every digit beyond that will be 0. This means $y$ must have a terminating decimal expansion therefore $y$ must be rational as desired.
Case 2: $x$ has a non-terminating decimal expansion.

This is the more interesting part of the problem. It is well-known that digits of a non-terminating decimal expansion are eventually periodic iff it is a rational number. This means digits of $x$ also must be eventually periodic. Therefore $x$ can be written as
\[x = 0.a_1a_2\ldots a_k \, \overline{b_1b_2\ldots b_m}\]where again $a_i$ and $b_j$ are digits. Here $a_i$ is non-periodic part and $b_j$ is periodic part. It is easy to see that $m$ is the period of the repeating part. Once more, let $\alpha \in \mathbb{Z}^+$ such that $2^\alpha \le k < 2^{\alpha + 1}$. One can again determine the first $\alpha$ digits of $y$ as stated in the above case. Say the $(\alpha + 1)$th digit is some $b_l$. By basic modular arithmetic, the $(\alpha +2)$th digit will be $b_h$ where $h = l\cdot 2 + k \pmod{m}$. The next digit can be generated similarly(a small induction which is skipped). Since we want to show that $y$ is rational, it suffices to show its decimal expansion is also eventually periodic. This boils down to showing there exists distinct $a,b$ such that
\[2^al + (2^a-1)k \equiv 2^bl + (2^b-1)k \pmod{m} \iff (l-k) (2^a-2^b) \equiv 0 \pmod{m}\]Now since $2^a$ is periodic modulo $m$, we are done. $\blacksquare$

Remark. The last congruence is the $a$th digit after the non-periodic part, therefore the congruence above makes sense.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
kamatadu
471 posts
#30 • 3 Y
Y by GeoKing, HoripodoKrishno, Frank25
:o my first NT from some contest, it's actually time to stop doing just geo, i'm way too numbax T__T

Page 1 Page 2

handwritten solution images attached
This post has been edited 2 times. Last edited by kamatadu, Jan 21, 2023, 3:40 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
pinkpig
3761 posts
#31
Y by
Solution

Someone please proofread because i think this doesn't make sense at all.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
MathsSolver007
542 posts
#32
Y by
Solution Sketch
This post has been edited 1 time. Last edited by MathsSolver007, Mar 14, 2023, 5:22 PM
Reason: typo!!
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
HamstPan38825
8857 posts
#33
Y by
Let the decimal expansion of $x$ repeat with period $k$. Notice that $\{2^n\}_{n \geq 1}$ is periodic modulo $k$, so the decimal representation of $y$ repeats too. Thus $y$ is rational.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
RedFireTruck
4220 posts
#34
Y by
if $x$ terminates then so does $y$

otherwise, $x$ will eventually repeat with some period $t$, in which case $y$ will repeat with some period $p | \phi(t)$.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
huashiliao2020
1292 posts
#35
Y by
storage from a while ago

I'm confused if this is a fakesolve or not...
If x terminates y will terminate. If x is periodic after some number of digits with period $p=2^ij\forall i=v_2p$, it's well known that $2^n$ is periodic mod j and $2^n\equiv 0\pmod {2^i}$, hence it is periodic mod p as well. $\blacksquare$
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
shendrew7
793 posts
#36
Y by
Obviously if $x$ terminates then $y$ must also terminate, making it rational.

Otherwise, $x$ must eventually becomes periodic, suppose with period $k$. Clearly we can build a period wih Euler's Totient function and CRT on the sequence $\{2^n\} \pmod{k}$, making $y$ periodic and thus rational.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
potatohunter
16 posts
#37
Y by
The bulk of the problem is in the following lemma:
Lemma. If $\alpha$ is rational if and only if its decimal representation terminates, or is eventually periodic.
Proof. The $\Longleftarrow$ is standard. We thus show $\implies$. Let $\alpha = p/q < 1$ (if $p/q > 1$, just simplify it). Then do long division of $p/q$. We note that doing this process, we always add $0$s to the back of our remainder. If it terminates (this happens if the remainder is 0), we are done. Otherwise, to show periodicity, it suffices to show the same remainder will appear twice. This is true by pigeonhole principle, since there are only $q$ possible remainders.

If $x$ terminates, then $y$ also terminates, hence $y$ must be rational. Otherwise, $x$ is eventually periodic. Take this period to be $P$. Note that $2^{k + \phi(P)} \equiv 2^k \pmod P$, i.e. $y$ will also be eventually periodic; it must hence be rational.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
joshualiu315
2513 posts
#38
Y by
If the decimal expansion of $x$ terminates, then it is clear that the decimal expansion of $y$ must terminate too, making it rational. If the decimal expansion of $x$ repeats, let the period be $p$. The sequence $\{2^n\}$ is periodic modulo $p$, so the decimal expansion of $y$ also repeats, implying $y$ is rational. $\square$
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Cusofay
85 posts
#39
Y by
Since $x$'s digits are $k-$periodic after some $n$-th digit , it is trivial that $y$'s digits will eventually become periodic since $2^i$ is periodic modulo $k$

$$\mathbb{Q.E.D.}$$
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
ATGY
2502 posts
#40
Y by
Say we have $x$ terminating, having $k$ digits. Consider $2^m > k$, $2^{m - 1} < k$. Notice that the $m$'th digit of $y$ and after will all be $0$ meaning that $y$ is terminating as well, meaning $y$ is rational.

If $x$ is non-terminating, then it must have a repeating sequence of digits, say of length $k = 2^p \cdot q$. We essentially want to prove that $2^n$ is periodic modulo $k$. Notice that $2^{\phi(q)} \equiv 1\mod{q}$, take large enough $a$, then we have $2^{a + \phi{q}} \equiv 2^a \cdot 2^{\phi{q}} \equiv 2^a \mod{k}$, so we are done.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
de-Kirschbaum
190 posts
#41
Y by
Since $x$ is rational we know that its decimal digits must be eventually periodic, lets say it goes periodic after $t$ digits and the period is of length $k$. Then lets start at the smallest $d$ such that $2^d \geq t$, so that's the $d$-th digit of $y$. Now there are two cases, if $\gcd(k,2)=1$ then we know that $2^d \equiv 2^{d+\varphi(k)} \mod{k}$, which means that the $d$-th digit of $y$ is going to be the same as the $d+\varphi(k)$-th digit of $y$, so $y$ is eventually periodic.

If $k=2^em$ where $2^e \mid \mid k$, then we know that $2^d \equiv 2^{d+\varphi(m)} \mod{m}$ and $2^i \in \{1, 2, 2^2, \cdots, 2^e, 0, \cdots\}$ so we will modify $d$ by $a$ such that $d+a>e$, then by CRT $2^{d+a+1} \equiv 2^{d+a+\varphi(m)} \mod{k}$. Thus the $d+a+1$-th term of $y$ is the same as the $d+a+\varphi(m)$-th term, which means $y$ is eventually periodic. Thus $y$ must be rational as well.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Likeminded2017
391 posts
#42
Y by
If $x$ is rational iff it repeats every $k$ digits for some $k$ or terminate. If it terminates then $y$ terminates and is rational. If $x$ repeats every $k$ digits then $y$ will eventually repeat as there exists two $2^a$ and $2^b$ with $b-a \le k$ such that $2^a \equiv 2^b \mod k$ because there $k$ total residue classes. This means the decimal digits eventually repeat and $y$ is rational.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Maximilian113
536 posts
#43
Y by
Let $p$ be the period of the decimal expansion of $x.$ Clearly, $2^n$ is periodic mod $p,$ meaning the the decimal expansion of $y$ repeats. Therefore, $y$ is rational. QED
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Marcus_Zhang
977 posts
#44
Y by
Quick Writeup
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
quantam13
108 posts
#45
Y by
Since the digits of $x$ are eventually periodic with some period $k$, we get that $y$'s digits will also be eventually periodic with period $k$ as PHP can easily give that powers of 2 are periodic modulo every integer $k$. End of story.
Z K Y
N Quick Reply
G
H
=
a