Loading web-font TeX/Math/Italic
Skip to main content

Number Theory Revise part 1

I thought to revise David Burton and try out some problems which I didn't do. It's been almost 2 years since I touched that book so let's see!

Also, this set of problems/notes is quite weird since it's actually a memory lane. You will get to know on your own! I started with proving a problem, remembered another problem and then another and so on! It was quite fun cause all these questions were the ones I really wanted to solve!

And this is part1 or else the post would be too long.

Problem1: Prove that for n\ge 1 

\binom{n}{r}<\binom{n}{r+1}

iff 0\le r\le \frac{n-1}{2}

Proof: We show that \binom{n}{r}<\binom{n}{r+1} for 0\le r\le \frac{n-1}{2} and use the fact that \binom{n}{n-r}=\binom{n}{r}

Note that \binom{n}{r}= \frac{n!}{r!(n-r)!}, \binom{n}{r+1}=\frac{n!}{(r+1)!(n-r-1)!} 

Comparing, it's enough to show that \frac{1}{n-r}<\frac{1}{r+1}\text{ or show } n-r>r+1
which is true as 0\le r\le \frac{n-1}{2}

Problem2: Show that the expressions \frac{ (2n)!}{n!(n+1)!} integers.
Proof: Now, one way of proving this is \frac{(2n+1)!}{n!(n+1)!}=\frac{2n+1}{n}\cdot \frac{(2n)!}{(n-1)!(n+1)}=\frac{2n+1}{n}\cdot \binom{2n-1}{n+1}\in \Bbb Z


but \gcd(n,2n+1)=1\implies n|\binom{2n}{n-1}

---
It's the Catalan numbers formula btw :P
Hmm... I did have another idea..

The other possible way I think is using v_p.

Let p be an odd prime dividing n then v_p\left(\frac{(2n)!}{(n-1)!(n+1)!}\right)=v_p(2n!)-v_p(n-1!)-v_p(n+1!)
 
=\frac{2n-s_p(2n)-n+1+s_p(n-1)-n-1+s_p(n+1!)}{p-1}=\frac{s_p(n-1)+s_p(n+1)-s_p(2n)}{p-1}

where s_p denotes the sum of digits of n is base p.

Since p|n\implies s_p(n+1)=s_p(n)+1.

And it is well known that p-1|x-s_p(x).

Now, to show that n|\left(\frac{(2n)!}{n!(n+1)!}\right) enough to show that s_p(n-1)+s_p(n)+1-s_p(2n)\ge v_p(n)\cdot (p-1)

When 2|n note that v_2(\frac{(2n)!}{n!(n+1)!})=v_2(\frac{(2n+1)!}{n!(n+1)!})=v_2(\binom{2n+1}{n})

Talking about Legendre, I should try to prove this identity after a few problems and also try to prove the Catalan numbers identity!

Problem3: Proof that \frac{(2n)!}{2^n} is an integer.

Proof: Note that v_2(x\cdot (x+1)\cdot (x+2)\cdot (x+3))\ge 3.
So v_2((2n)!)\ge [3\times \frac{2n-2}{4}]\ge n

Another proof would be, 

 Consider a set S containing 2 copies of n distinct elements. Then S has total 2n objects.

Then, the total number of permutations of these objects =\frac{(2n)!}{(2!)^n}=\frac{(2n)!}{2^n}.

Since the number of permutations is an integer, therefore, \dfrac{(2n)!}{2^n} is an integer. 

Actually, this method is also useful when we have to show that x!y!z!| (x+y+z)!. 

Problem 4: Prove that x_1!x_2!\dots x_n!| (x_1+x_2+\dots+x_n)!

Proof: Left to the reader :P

Problem5: Prove that 2^n does not divide n!

Proof: By legendre, v_p(n!)=n-s(2^n)<n.

Here are two pretty well known problems which I find pretty hard if induction didn't exists

Problem6: Prove that \frac{2n!}{n!2^n} is an integer.

Proof: We use induction. For n=1 it's true.

Suppose it's true for n=k. We will show that it's true for n=k+1.
Note that \frac{(2k+2)!}{(k+1)!2^{k+1}}=(2k+1)\cdot \frac{(2k+2)}{k+1}\cdot\frac{(2k)!}{(k)!2^{k+1}}=(2k+1)\cdot \frac{(2k)!}{(k)!2^{k}}\in \Bbb Z


Problem 7: Prove that \frac{3n!}{n!6^n} is an integer.

Proof: Note that 2^n|2n!|\frac{3n!}{n!}.
So enough to show that 3^n|\frac{3n!}{n!3^n} whose proof is similar to the above.


Problem 8: Establish the inequality 2^n<\binom{2n}{n}<2^{2n}.

Proof: Note that \frac{2n!}{n!2^n}\in \Bbb Z^{+}\implies 2^n<\binom{2n}{n}.
Also, we have \binom{2n}{n}=\dfrac{1\cdot 3\cdot \dots \cdot (2n-1)}{2\cdot 4\cdot \dots 2n}2^{2n}.
This simply manipulations.

But note that \dfrac{1\cdot 3\cdot \dots \cdot (2n-1)}{2\cdot 4\cdot \dots 2n}\le 1\implies \binom{2n}{n}<2^{2n}.
 

Problem 9: Prove that sum of the first n triangle numbers is less 2 that is,
\frac{1}{1}+\frac{1}{3}+\dots+\frac{1}{t_n}<2

Proof: Note that we just have \frac{2}{1\cdot 2}+\frac{2}{2\cdot 3}+\dots+\frac{2}{n(n+1)}=2\cdot {1-\frac{1}{n+1}}<2

Problem 10: Fibonacci addition law F_{n+m} = F_{n-1}F_m + F_n F_{m+1}

Proof: It's simply induction.
We varry n. Say it's true for n=1,\dots, k. We will show that n=k+1.
Then F_{k+1+m}=F_{k+m}+F_{k-1+m}=F_{k-1}F_m+F_kF_{m+1}+F_{k-2}F_{m}+F_{k-1}F_{m+1}
 
=F_kF_m+F_{k+1}F_{m+1}

Okie, now I think the following is a nice problem for the existence of the formula of Fibonacci numbers.
Problem 11: Show that \frac{f_{2k+2}} { f_{k+1} } = \frac{f_{2k} } { f_k } + \frac{f_{2k-2} } {f_{k-1} }

Proof: Show that \frac{f_{2k+2}} { f_{k+1} } = \frac{f_{2k} } { f_k } + \frac{f_{2k-2} } {f_{k-1} }

I used the formula for Fibonacci i.e 
F_n=\frac{1}{\sqrt{5}}\left(\left(\frac{1+\sqrt{5}}{2}\right)^n-\left(\frac{1-\sqrt{5}}{2}\right)^n\right).

Then \frac{f_{2k+2}} { f_{k+1} }=\left(\frac{1+\sqrt{5}}{2}\right)^{k+1}+\left(\frac{1-\sqrt{5}}{2}\right)^{k+1}

And we get \frac{f_{2k}} { f_{k} }=\left(\frac{1+\sqrt{5}}{2}\right)^{k}+\left(\frac{1-\sqrt{5}}{2}\right)^{k}

And \frac{f_{2k-2}} { f_{k-1} }=\left(\frac{1+\sqrt{5}}{2}\right)^{k-1}+\left(\frac{1-\sqrt{5}}{2}\right)^{k-1}

Or show \left(\frac{1+\sqrt{5}}{2}\right)^{k+1}+\left(\frac{1-\sqrt{5}}{2}\right)^{k+1}= \left(\frac{1+\sqrt{5}}{2}\right)^{k}+\left(\frac{1-\sqrt{5}}{2}\right)^{k}+\left(\frac{1+\sqrt{5}}{2}\right)^{k-1}+\left(\frac{1-\sqrt{5}}{2}\right)^{k-1}

But note that both \left(\frac{1+\sqrt{5}}{2}\right), \left(\frac{1-\sqrt{5}}{2}\right) are roots of x^2=x+1. So x^{k+1}=x^{k}+x^{k-1}

So we get  that \left(\frac{1+\sqrt{5}}{2}\right)^{k+1}=\left(\frac{1+\sqrt{5}}{2}\right)^{k}+\left(\frac{1+\sqrt{5}}{2}\right)^{k-1}

And similarly for \left(\frac{1-\sqrt{5}}{2}\right).

Problem 12: Prove by induction on Fibonacci numbers: show that f_n\mid f_{2n}

Proof: Note that 
\frac{f_{2k+2}} { f_{k+1} } = \frac{f_{2k} } { f_k } + \frac{f_{2k-2} } {f_{k-1} }

By induction, we can assume that \frac{f_{2k} } { f_k }, \frac{f_{2k-2} } {f_{k-1} } are integers.

Problem 13: Prove that \gcd(F_n,F_m) = F_{\gcd(n,m)}

Proof: Using formula for we get that F_{\gcd(n,m)}|F_n, F_m\implies F_{\gcd(m,n)}|\gcd(F_n,F_m)

Now \gcd(n,m)=mx+ny for some x,y by bezout. But F_{\gcd(n,m)}= F_{mx-1}F_{ny}+F_{mx}F_{ny+1}.

But \gcd(F_n,F_m)|F_{mx-1}F_{ny}+F_{mx}F_{ny+1}=F_{\gcd(n,m)}
\implies \gcd(F_n,F_m) = F_{\gcd(n,m)}.

Well, I am still left to prove the legendre formula.

Theorem: v_p(n!)=\frac{n-s_p(n)}{p-1}

Proof: Let n=n_lp^l+\dots+n_1p+n_0 in base p.
Then \lfloor{\frac{n}{p^i}}\rfloor=n_lp^{l-i}+\dots+n_{i+1}p+n_i.
Then v_p(n!)=\sum_{i=1}^l \lfloor {\frac{n!}{p^i}} \rfloor =\sum_{i=1}^l n_lp^{l-i}+\dots+n_{i+1}p+n_i. 
Which is actually, n_l\sum_{i=1}^l p^{l-i}+n_{l-1}\sum_{i=1}^l p^{l-i-1}+\dots +n_{i+1}
=\frac{1}{p-1}\left( n_l\cdot (p^{l}-p)+n_{l-1}\cdot (p^{l-1}-p)+\dots +n_{i+1}\cdot (p-1)\right)
=\frac{n-s_p(p)}{p-1}

See you soon with the next post!
Sunaina💜

Comments

  1. Problem 6 without induction:
    \frac{2n!}{n!2^n}


    =\frac{2n\times 2(n-1)\times .....\times 4\times ×2×(product of the odd terms)}{n!2^n}

    =\frac{2^n\times n!\times product of odd terms}{n!2^n}

    Similar approach can be taken towards Problem 7

    ReplyDelete
    Replies
    1. Yeah, it was easy without induction too. For Problem 7, we break 3n! to get 3^n.n! (from 3i terms) along with products of the form (3i-1) and (3i-2). Then the 2's out of (3i-1) and (3i-2) will equal 2^n, for n both even and odd.

      Delete
    2. Yep I think both work! Thanks for sharing!

      Delete
  2. You might want to recheck your problem statement for P2 :wayaw:

    ReplyDelete
  3. Really nice blog though! IMOSL N8 series when? :prayge:

    ReplyDelete

Post a Comment

Popular posts from this blog

Some problems in Olympiad Graph theory!

Hello there! It has been a long time since I uploaded a post here. I recently took a class at the European Girls' Mathematical Olympiad Training Camp 2024, held at CMI. Here are a few problems that I discussed! My main references were Po-Shen Loh's Graph theory Problem set (2008), Adrian tang's Graph theory problem set (2012) and Warut Suksompong's Graph Cycles and Olympiad Problems Handout and AoPS. I also referred to Evan Chen's Graph theory Otis Problem set for nice problems! Text Book Problems which are decent A connected graph G is said to be k-vertex-connected (or k-connected) if it has more than k vertices and remains connected whenever fewer than k vertices are removed. Show that every k-connected graph of order atleast 2k contains a cycle of length at least 2k. We begin with a lemma. Prove that a graph G of order n \geq 2k is k connected then every 2 disjoint set V_1 and V_2 of k distinct vertices each, there exist k...

Solving Random ISLs And Sharygin Solutions! And INMO happened!!

Some of the ISLs I did before INMO :P  [2005 G3]:  Let ABCD be a parallelogram. A variable line g through the vertex A intersects the rays BC and DC at the points X and Y, respectively. Let K and L be the A-excenters of the triangles ABX and ADY. Show that the angle \measuredangle KCL is independent of the line g Solution: Note that \Delta LDK \sim \Delta XBK
and \Delta ADY\sim \Delta XCY.
So we have \frac{BK}{DY}=\frac{XK}{LY}
and \frac{DY}{CY}=\frac{AD}{XC}=\frac{AY}{XY}.
Hence \frac{BK}{CY}=\frac{AD}{XC}\times \frac{XK}{LY}\implies \frac{BK}{BC}=\frac{CY}{XC}\times \frac{XK}{LY}=\frac{AB}{BC}\times \frac{XK}{LY}
\frac{AB}{LY}\times \frac{XK}{BK}=\frac{AB}{LY}\times \frac{LY}{DY}=\frac{AB}{DL}
\implies \Delta CBK\sim \Delta LDK
And we are done. We get that \angle KCL=360-(\angle ACB+\angle DKC+\angle BCK)=\angle DAB/2 +180-\angle DAB=180-\angle DAB/2
Motivation: I took a hint on this. I had other angles but I did...

My experiences at EGMO, IMOTC and PROMYS experience

Yes, I know. This post should have been posted like 2 months ago. Okay okay, sorry. But yeah, I was just waiting for everything to be over and I was lazy. ( sorry ) You know, the transitioning period from high school to college is very weird. I will join CMI( Chennai Mathematical  Institue) for bsc maths and cs degree. And I am very scared. Like very very scared. No, not about making new friends and all. I don't care about that part because I know a decent amount of CMI people already.  What I am scared of is whether I will be able to handle the coursework and get good grades T_T Anyways, here's my EGMO PDC, EGMO, IMOTC and PROMYS experience. Yes, a lot of stuff. My EGMO experience is a lot and I wrote a lot of details, IMOTC and PROMYS is just a few paras. Oh to those, who don't know me or are reading for the first time. I am Sunaina Pati. I was IND2 at EGMO 2023 which was held in Slovenia. I was also invited to the IMOTC or International Mathematical Olympiad Training Cam...

Introduction

  Hey Everyone!! This is my first Blog post. So let me give a brief introduction about myself. I am Sunaina Pati. I love solving Olympiad math problems,  learning crazy astronomical facts , playing hanabi and anti-chess, listening to Kpop , love making diagrams in Geogebra and  teaching other people maths 😊 . I love geometry , number theory and Combinatorics . I am starting this blog to keep myself a bit motivated in doing studies 😎 . Right now, I am planning to write walkthroughs on some of the best problems I tried over the week which can refer for hints 'cause solutions contain some major spoilers and one learns a lot while solving the problem on his own rather than seeing solutions . Also, there will be some reviews about Kpop songs, study techniques, my day to day lifestyles,exam reviews and ofc some non-sense surprises 😂.  I am planning to  try  posting every week on Sundays or Saturdays ( most probably) ! Though there is no guarantee about when I ...

Bio is Love..

Adios, everyone! Boards preparation at its peak :(  However, I am not able to study how I used to. Every time I try to study for boards, I just keep thinking much about a topic, stare at the book, jam a song or just start doing procrastination by bookmarking random cute problems in HSO. It's been more than a year I have studied like with a focus on a book. My lappy is being a big distraction tbh. So after INMO score come out, I will just give my lappy for repair and say papa to bring it back home after June 2.  Milk and Mocha I literally am taking 2 days to complete 1 bio chapter, some times even 3. The rate of my "slowness" is probably because I am like every 15 minutes checking discord to see if the INMO scores are out or not. So HBCSE, thank you for keeping me anxious.  Funfact:- we must be grateful that there is an organisation that is conducting these national Olys. There are some countries where no Olys are being conducted. ( Same dialogue which mumma uses, but in p...

New year with a new beginning! And a recap of 2024..and all the best for INMO 2025!

Hi everyone! Happy New Year :)  Thank you so much for 95k+ views!!! How was everyone's 2024? What are everyone's resolutions? ( Do write down in the comment section! And you can come back 1 year later to see if you made them possible!). A Better Mathematician  Well, technically a theoretical computer scientist.  I am so grateful to be allowed to study at CMI where I can interact with so many brilliant professors, access the beautiful library and obviously discuss mathematics ( sometimes non math too ) with the students.    And this year, I want to learn more mathematics and clear my fundamentals. I have become much worse in math actually. And hopefully, read some research papers too :)  And discuss a lot of mathematics with other people.  However, with that whole depressing 2024 year, I have lost a lot of my confidence in mathematics. And to be a better mathematician, I should gain the confidence that I can be a mathematician. And well, I am working on...

Let's complex bash Part 1

I have to learn complex bash. And almost everyone knows that I am notes taking girl so thought why not make a post on complex bash ( so that I don't get emotionally demotivated lol).😇 There wasn't any need for learning complex bash, but it was in my dream checklist i.e " To learn a bash." And since I am not loaded with exams, I think it's high time to learn Bash and new topics.  Also if anyone from the "anti-bash" community is reading, sorry in advance and R.I.P.  Notes:- 1. Complex numbers are of the form z=a+ib, where a and b are real numbers and i^2=-1. 2. In polar form, z=r(\cos \theta+~~i\sin\theta)=~~re^{i\theta}, where r=~~|z|=~~\sqrt{a^2+b^2}, which is called the magnitude. 3. Here we used euler's formula i.e \cos \theta+~~i\sin\theta=~~e^{i\theta}. 4. The \theta is called the argument of z, denored \arg z. ( \theta can be considered in \mod 360 and it is  measured anti-clockwise). 5. The complex conjugate of z is ...

How to prepare for INMO

Since INMO is coming up, it would be nice to write a post about it! A lot of people have been asking me for tips. To people who are visiting this site for the first time, hi! I am Sunaina Pati, an undergrad student at Chennai Mathematical Institute. I was an INMO awardee in 2021,2022,2023. I am also very grateful to be part of the India EGMO 2023 delegation. Thanks to them I got a silver medal!  I think the title of the post might be clickbait for some. What I want to convey is how I would have prepared for INMO if I were to give it again. Anyway, so here are a few tips for people! Practice, practice, practice!! I can not emphasize how important this is. This is the only way you can realise which areas ( that is combinatorics, geometry, number theory, algebra) are your strength and where you need to work on. Try the problems as much as you want, and make sure you use all the ideas you can possibly think of before looking at a hint. So rather than fixing time as a measure to dec...

Geometry ( Finally!!!)

 This is just such an unfair blog.  Like if one goes through this blog, one can notice how dominated  Algebra is!! Like 6 out of 9 blog post is Algebra dominated -_- Where as I am not a fan of Algebra, compared to other genres of Olympiad Math(as of now). And this was just injustice for Synthetic Geo. So this time , go geo!!!!!!!!!!!  These problems are randomly from A Beautiful Journey through Olympiad Geometry.  Also perhaps I will post geo after March, because I am studying combi.  Problem:  Let ABC be an acute triangle where \angle BAC = 60^{\circ}. Prove that if the Euler’s line of \triangle ABC intersects AB and AC at D and E, respectively, then \triangle ADE is equilateral. Solution:  Since \angle A=60^{\circ} , we get AH=2R\cos A=R=AO. So \angle EHA=\angle DOA. Also it's well known that H and O isogonal conjugates.\angle OAD =\angle EAH. By ASA congruence, we get AE=AD. Hence \triangle ADE is equilateral....

Orders and Primitive roots

 Theory  We know what Fermat's little theorem states. If p is a prime number, then for any integer a, the number a^p − a is an integer multiple of p. In the notation of modular arithmetic, this is expressed as a^{p}\equiv a{\pmod {p}}.
So, essentially, for every (a,m)=1, {a}^{\phi (m)}\equiv 1 \pmod {m}. But \phi (m) isn't necessarily the smallest exponent. For example, we know 4^{12}\equiv 1\mod 13 but so is 4^6. So, we care about the "smallest" exponent d such that a^d\equiv 1\mod m given (a,m)=1.  Orders Given a prime p, the order of an integer a modulo p, p\nmid a, is the smallest positive integer d, such that a^d \equiv 1 \pmod p. This is denoted \text{ord}_p(a) = d. If p is a primes and p\nmid a, let d be order of a mod p. Then a^n\equiv 1\pmod p\implies d|n. Let n=pd+r, r\ll d. Which implies a^r\equiv 1\pmod p. But d is the smallest natural number. So r=0. So d|n. Show that n divid...