We have your learning goals covered with Spring and Summer courses available. Enroll today!

G
Topic
First Poster
Last Poster
k a March Highlights and 2025 AoPS Online Class Information
jlacosta   0
Mar 2, 2025
March is the month for State MATHCOUNTS competitions! Kudos to everyone who participated in their local chapter competitions and best of luck to all going to State! Join us on March 11th for a Math Jam devoted to our favorite Chapter competition problems! Are you interested in training for MATHCOUNTS? Be sure to check out our AMC 8/MATHCOUNTS Basics and Advanced courses.

Are you ready to level up with Olympiad training? Registration is open with early bird pricing available for our WOOT programs: MathWOOT (Levels 1 and 2), CodeWOOT, PhysicsWOOT, and ChemWOOT. What is WOOT? WOOT stands for Worldwide Online Olympiad Training and is a 7-month high school math Olympiad preparation and testing program that brings together many of the best students from around the world to learn Olympiad problem solving skills. Classes begin in September!

Do you have plans this summer? There are so many options to fit your schedule and goals whether attending a summer camp or taking online classes, it can be a great break from the routine of the school year. Check out our summer courses at AoPS Online, or if you want a math or language arts class that doesn’t have homework, but is an enriching summer experience, our AoPS Virtual Campus summer camps may be just the ticket! We are expanding our locations for our AoPS Academies across the country with 15 locations so far and new campuses opening in Saratoga CA, Johns Creek GA, and the Upper West Side NY. Check out this page for summer camp information.

Be sure to mark your calendars for the following events:
[list][*]March 5th (Wednesday), 4:30pm PT/7:30pm ET, HCSSiM Math Jam 2025. Amber Verser, Assistant Director of the Hampshire College Summer Studies in Mathematics, will host an information session about HCSSiM, a summer program for high school students.
[*]March 6th (Thursday), 4:00pm PT/7:00pm ET, Free Webinar on Math Competitions from elementary through high school. Join us for an enlightening session that demystifies the world of math competitions and helps you make informed decisions about your contest journey.
[*]March 11th (Tuesday), 4:30pm PT/7:30pm ET, 2025 MATHCOUNTS Chapter Discussion MATH JAM. AoPS instructors will discuss some of their favorite problems from the MATHCOUNTS Chapter Competition. All are welcome!
[*]March 13th (Thursday), 4:00pm PT/7:00pm ET, Free Webinar about Summer Camps at the Virtual Campus. Transform your summer into an unforgettable learning adventure! From elementary through high school, we offer dynamic summer camps featuring topics in mathematics, language arts, and competition preparation - all designed to fit your schedule and ignite your passion for learning.[/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, Mar 2 - Jun 22
Friday, Mar 28 - Jul 18
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
Tuesday, Mar 25 - Jul 8
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
Sunday, Mar 23 - Jul 20
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
Sunday, Mar 16 - Jun 8
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
Monday, Mar 17 - Jun 9
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
Sunday, Mar 2 - Jun 22
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
Tuesday, Mar 4 - Aug 12
Sunday, Mar 23 - Sep 21
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
Sunday, Mar 16 - Sep 14
Tuesday, Mar 25 - Sep 2
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
Sunday, Mar 23 - Aug 3
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
Sunday, Mar 16 - Aug 24
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
Wednesday, Mar 5 - May 21
Tuesday, Jun 10 - Aug 26

Calculus
Sunday, Mar 30 - Oct 5
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
Sunday, Mar 23 - Jun 15
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
Tuesday, Mar 4 - May 20
Monday, Mar 31 - Jun 23
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
Monday, Mar 24 - Jun 16
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
Sunday, Mar 30 - Jun 22
Wednesday, May 21 - Aug 6
Sunday, Jun 15 - Sep 14
Monday, Jun 23 - Sep 15

Physics 1: Mechanics
Tuesday, Mar 25 - Sep 2
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
Mar 2, 2025
0 replies
k i Adding contests to the Contest Collections
dcouchman   1
N Apr 5, 2023 by v_Enhance
Want to help AoPS remain a valuable Olympiad resource? Help us add contests to AoPS's Contest Collections.

Find instructions and a list of contests to add here: https://artofproblemsolving.com/community/c40244h1064480_contests_to_add
1 reply
dcouchman
Sep 9, 2019
v_Enhance
Apr 5, 2023
k i Zero tolerance
ZetaX   49
N May 4, 2019 by NoDealsHere
Source: Use your common sense! (enough is enough)
Some users don't want to learn, some other simply ignore advises.
But please follow the following guideline:


To make it short: ALWAYS USE YOUR COMMON SENSE IF POSTING!
If you don't have common sense, don't post.


More specifically:

For new threads:


a) Good, meaningful title:
The title has to say what the problem is about in best way possible.
If that title occured already, it's definitely bad. And contest names aren't good either.
That's in fact a requirement for being able to search old problems.

Examples:
Bad titles:
- "Hard"/"Medium"/"Easy" (if you find it so cool how hard/easy it is, tell it in the post and use a title that tells us the problem)
- "Number Theory" (hey guy, guess why this forum's named that way¿ and is it the only such problem on earth¿)
- "Fibonacci" (there are millions of Fibonacci problems out there, all posted and named the same...)
- "Chinese TST 2003" (does this say anything about the problem¿)
Good titles:
- "On divisors of a³+2b³+4c³-6abc"
- "Number of solutions to x²+y²=6z²"
- "Fibonacci numbers are never squares"


b) Use search function:
Before posting a "new" problem spend at least two, better five, minutes to look if this problem was posted before. If it was, don't repost it. If you have anything important to say on topic, post it in one of the older threads.
If the thread is locked cause of this, use search function.

Update (by Amir Hossein). The best way to search for two keywords in AoPS is to input
[code]+"first keyword" +"second keyword"[/code]
so that any post containing both strings "first word" and "second form".


c) Good problem statement:
Some recent really bad post was:
[quote]$lim_{n\to 1}^{+\infty}\frac{1}{n}-lnn$[/quote]
It contains no question and no answer.
If you do this, too, you are on the best way to get your thread deleted. Write everything clearly, define where your variables come from (and define the "natural" numbers if used). Additionally read your post at least twice before submitting. After you sent it, read it again and use the Edit-Button if necessary to correct errors.


For answers to already existing threads:


d) Of any interest and with content:
Don't post things that are more trivial than completely obvious. For example, if the question is to solve $x^{3}+y^{3}=z^{3}$, do not answer with "$x=y=z=0$ is a solution" only. Either you post any kind of proof or at least something unexpected (like "$x=1337, y=481, z=42$ is the smallest solution). Someone that does not see that $x=y=z=0$ is a solution of the above without your post is completely wrong here, this is an IMO-level forum.
Similar, posting "I have solved this problem" but not posting anything else is not welcome; it even looks that you just want to show off what a genius you are.

e) Well written and checked answers:
Like c) for new threads, check your solutions at least twice for mistakes. And after sending, read it again and use the Edit-Button if necessary to correct errors.



To repeat it: ALWAYS USE YOUR COMMON SENSE IF POSTING!


Everything definitely out of range of common sense will be locked or deleted (exept for new users having less than about 42 posts, they are newbies and need/get some time to learn).

The above rules will be applied from next monday (5. march of 2007).
Feel free to discuss on this here.
49 replies
ZetaX
Feb 27, 2007
NoDealsHere
May 4, 2019
A huge group of children compare their heights
Tintarn   5
N a minute ago by InCtrl
Source: All-Russian MO 2024 9.8
$1000$ children, no two of the same height, lined up. Let us call a pair of different children $(a,b)$ good if between them there is no child whose height is greater than the height of one of $a$ and $b$, but less than the height of the other. What is the greatest number of good pairs that could be formed? (Here, $(a,b)$ and $(b,a)$ are considered the same pair.)
Proposed by I. Bogdanov
5 replies
Tintarn
Apr 22, 2024
InCtrl
a minute ago
Iran Inequality
mathmatecS   15
N 23 minutes ago by Marcus_Zhang
Source: Iran 1998
When $x(\ge1),$ $y(\ge1),$ $z(\ge1)$ satisfy $\frac{1}{x}+\frac{1}{y}+\frac{1}{z}=2,$ prove in equality.
$$\sqrt{x+y+z}\ge\sqrt{x-1}+\sqrt{y-1}+\sqrt{z-1}$$
15 replies
mathmatecS
Jun 11, 2015
Marcus_Zhang
23 minutes ago
Inequality involving x, y and z
cefer   46
N 33 minutes ago by Baimukh
Source: Balkan MO 2012 - Problem 2
Prove that
\[\sum_{cyc}(x+y)\sqrt{(z+x)(z+y)} \geq 4(xy+yz+zx),\]
for all positive real numbers $x,y$ and $z$.
46 replies
cefer
Apr 28, 2012
Baimukh
33 minutes ago
Numbers from 1 to 15 with rare properties
hectorleo123   1
N an hour ago by EmersonSoriano
Source: 2015 Peru Cono Sur TST P2
Let $a, b, c$ and $d$ be elements of the set $\{ 1, 2, 3,\ldots , 2014, 2015 \}$ such that $a < b < c < d$, $a + b$ is a divisor of $c + d$, and $a + c$ is a divisor of $b + d$. Determine the largest value that $a$ can take.
1 reply
hectorleo123
Jul 10, 2023
EmersonSoriano
an hour ago
Number Theory
MuradSafarli   3
N 2 hours ago by MuradSafarli
find all natural numbers \( (a, b) \) such that the following equation holds:

\[
7^a + 1 = 2b^2
\]
3 replies
MuradSafarli
3 hours ago
MuradSafarli
2 hours ago
Abelkonkurransen 2025 2a
Lil_flip38   1
N 3 hours ago by RANDOM__USER
Source: Abelkonkurransen
A teacher asks each of eleven pupils to write a positive integer with at most four digits, each on a separate yellow sticky note. Show that if all the numbers are different, the teacher can always submit two or more of the eleven stickers so that the average of the numbers on the selected notes are not an integer.
1 reply
Lil_flip38
Today at 11:10 AM
RANDOM__USER
3 hours ago
Abelkonkurransen 2025 2b
Lil_flip38   3
N 3 hours ago by alexanderhamilton124
Source: abelkonkurransen
Which positive integers $a$ have the property that \(n!-a\) is a perfect square for infinitely many positive integers \(n\)?
3 replies
Lil_flip38
Today at 11:12 AM
alexanderhamilton124
3 hours ago
Oi! These lines concur
Rg230403   18
N 4 hours ago by HoRI_DA_GRe8
Source: LMAO 2021 P5, LMAOSL G3(simplified)
Let $I, O$ and $\Gamma$ respectively be the incentre, circumcentre and circumcircle of triangle $ABC$. Points $A_1, A_2$ are chosen on $\Gamma$, such that $AA_1 = AI = AA_2$, and point $A'$ is the foot of the altitude from $I$ to $A_1A_2$. If $B', C'$ are similarly defined, prove that lines $AA', BB'$ and $CC'$ concurr on $OI$.
Original Version from SL
Proposed by Mahavir Gandhi
18 replies
Rg230403
May 10, 2021
HoRI_DA_GRe8
4 hours ago
Incircle
PDHT   0
4 hours ago
Source: Nguyen Minh Ha
Given a triangle \(ABC\) that is not isosceles at \(A\), let \((I)\) be its incircle, which is tangent to \(BC, CA, AB\) at \(D, E, F\), respectively. The lines \(DE\) and \(DF\) intersect the line passing through \(A\) and parallel to \(BC\) at \(M\) and \(N\), respectively. The lines passing through \(M, N\) and perpendicular to \(MN\) intersect \(IF\) and \(IE\) at \(Q\) and \(P\), respectively.

Prove that \(D, P, Q\) are collinear and that \(PF, QE, DI\) are concurrent.
0 replies
PDHT
4 hours ago
0 replies
Surprisingly low answer to the question what is the maximum
mshtand1   2
N 4 hours ago by sarjinius
Source: Ukrainian Mathematical Olympiad 2025. Day 2, Problem 8.6, 10.5
Given $2025$ positive integer numbers such that the least common multiple (LCM) of all these numbers is not a perfect square. Mykhailo consecutively hides one of these numbers and writes down the LCM of the remaining $2024$ numbers that are not hidden. What is the maximum number of the $2025$ written numbers that can be perfect squares?

Proposed by Oleksii Masalitin
2 replies
mshtand1
Mar 13, 2025
sarjinius
4 hours ago
Functional Equation
AnhQuang_67   5
N 5 hours ago by megarnie
Find all functions $f:\mathbb{R} \to \mathbb{R}$ satisfying: $$f(xf(y)+2y)=f(f(y))+f(xy)+xf(y), \forall x, y \in \mathbb{R}$$
5 replies
AnhQuang_67
Today at 3:57 PM
megarnie
5 hours ago
hard ............ (2)
Noname23   1
N 5 hours ago by Amkan2022
problem
1 reply
Noname23
5 hours ago
Amkan2022
5 hours ago
Fun issue about Euler’s function
luutrongphuc   2
N 5 hours ago by vi144
Let $p$ is a prime number and $n,\alpha$ are positive integers. Prove that there exist infinitely $a$ such that $\phi(a),\phi(a+1),…,\phi(a+n)$ are divisible by $p^{\alpha}$
2 replies
luutrongphuc
Today at 11:27 AM
vi144
5 hours ago
Inequality with Mobius function and sum of divisors
Zhero   6
N 6 hours ago by allaith.sh
Source: ELMO Shortlist 2010, N1
For a positive integer $n$, let $\mu(n) = 0$ if $n$ is not squarefree and $(-1)^k$ if $n$ is a product of $k$ primes, and let $\sigma(n)$ be the sum of the divisors of $n$. Prove that for all $n$ we have
\[\left|\sum_{d|n}\frac{\mu(d)\sigma(d)}{d}\right| \geq \frac{1}{n}, \]
and determine when equality holds.

Wenyu Cao.
6 replies
Zhero
Jul 5, 2012
allaith.sh
6 hours ago
Local-global with Fibonacci numbers
MarkBcc168   26
N Mar 18, 2025 by pi271828
Source: ELMO 2020 P2
Define the Fibonacci numbers by $F_1 = F_2 = 1$ and $F_n = F_{n-1} + F_{n-2}$ for $n\geq 3$. Let $k$ be a positive integer. Suppose that for every positive integer $m$ there exists a positive integer $n$ such that $m \mid F_n-k$. Must $k$ be a Fibonacci number?

Proposed by Fedir Yudin.
26 replies
MarkBcc168
Jul 28, 2020
pi271828
Mar 18, 2025
Local-global with Fibonacci numbers
G H J
G H BBookmark kLocked kLocked NReply
Source: ELMO 2020 P2
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
MarkBcc168
1593 posts
#1 • 3 Y
Y by yayitsme, Loppukilpailija, richrow12
Define the Fibonacci numbers by $F_1 = F_2 = 1$ and $F_n = F_{n-1} + F_{n-2}$ for $n\geq 3$. Let $k$ be a positive integer. Suppose that for every positive integer $m$ there exists a positive integer $n$ such that $m \mid F_n-k$. Must $k$ be a Fibonacci number?

Proposed by Fedir Yudin.
This post has been edited 1 time. Last edited by MarkBcc168, Dec 30, 2020, 4:33 AM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Mathotsav
1508 posts
#2 • 2 Y
Y by parmenides51, aac3020
We claim that the answer is yes. Take $m>>k$ such that $m=F_{2t}$ for some large integer $t$. Use Cassini identity $F_{2t}F_{2t+2}=F_{2t+1}^2-1$ to get that $F_{2t+1}^2 \equiv 1$ mod $F_{2t}$. Working mod $F_{2t}$ and using induction we can also see that $F_{2t+n} \equiv F_{n}F_{2t+1}$ mod $F_{2t}$ (base cases $F_{2t+1}, F_{2t+2}$ are easily verified and induction step is done using distributive property of multiplication and the linear recurrence). Since $F_{2t+1}^2 \equiv 1$ mod $F_{2t}$ by Cassini identity, we check that $F_{4t+n} \equiv F_{2t+n}F_{2t+1} \equiv F_{n}(F_{2t+1})^2 \equiv F_n$ mod $F_{2t}$. So we can see that the Fibonacci numbers give us at most $4t$ possible remainders mod $F_{2t}$. Also, using $F_{m}+F_{m+1}=F_{m+2}$ we can check that $F_{2t-1} \equiv F_{2t+1}$ mod $F_{2t}$ and $F_{2t-2} \equiv (-1)*F_{2t+2}$ mod $F_{2t}$. Using these as base cases we can apply induction and prove that for all non-negative integers $n \leq 2t$ we have $(-1)^{n+1}F_{2t-n} \equiv F_{2t+n}$ mod $F_{2n}$. Now using the earlier proved fact that $F_{4t+n} \equiv F_{n}$ mod $F_{2t}$, we can see that for any Fibonacci number $F_q$, it is congruent mod $F_{2t}$ to a number of the form $\pm F_v$ where $0 \leq v \leq 2t-1$. So now consider the positive integer $n$ for which $m=F_{2t}|F_n-k$. By the previous argument, $n$ is congruent to some number of the form $\pm F_r$ mod $F_{2t}$ where $0 \leq r \leq 2t-1$.
Thus $F_{2t}|\pm F_r-k$ for some appropriate choice of sign. Now since $r$ is between $0$ and $2t-1$, we have $|F_r| \leq F_{2t-1}=F_{2t}-F_{2t-2}$. Now, since we chose $m=F_{2t}$ to be very large in comparison to $k$, we can see that $|k|<|F_{2t-2}|$. Thus $| \pm F_r-k|<F_{2t}$ and $F_{2t}| \pm F_r-k$, so we can see that $\pm F_r-k$ is forced to be equal to $0$. So $k=\pm F_r$ for some Fibonacci number less than $F_{2t}$. But $k$ is a positive integer and $0 \leq r \leq 2t-1$. Thus $k=F_r$. So $k$ has to be a Fibonacci number. Proved
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Superguy
354 posts
#3 • 4 Y
Y by ayan.nmath, Juanscholtze, Lcz, sabkx
For the sake of contradiction assume that there exists such $k$ which is not a Fibonacci number
Then for all primes $p$ and some $m$ we have $F_{m}\equiv k\pmod{p}$
Note that $n$ is a Fibonacci number if and only if $5n^2-4$ or $5n^2+4$ is a perfect square.
So for all primes either $5k^2-4$ or $5k^2+4$ is a quadratic residue modulo primes which is obviously a contradiction as for any two fixed integers we can have a prime such that both integers are quadratic non residue modulo prime
Remark
This post has been edited 6 times. Last edited by Superguy, Aug 3, 2020, 11:03 AM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
ayan.nmath
643 posts
#4 • 4 Y
Y by Superguy, Gaussian_cyber, Juanscholtze, Mango247
MarkBcc168 wrote:
Define the Fibonacci numbers by $F_1 = F_2 = 1$ and $F_n = F_{n-1} + F_{n-2}$ for $n\geq 3$. Let $k$ be a positive integer. Suppose that for every positive integer m there exists a positive integer $n$ such that $m \mid F_n-k$. Must $k$ be a Fibonacci number?

Proposed by Fedir Yudin.

Solution. Yes, we claim that $k$ must be a Fibonacci Number. Define $g(n)$ to be least possible natural number satisfying $F_n\mid F_{g(n)}-k$ and set $F_0=0.$ Let $\phi=\tfrac{1+\sqrt 5}{2}.$ The following facts are well known and easy to prove
  1. $F_n=\left[\tfrac{\varphi^n}{\sqrt 5}\right]$ where $[\cdot]$ is the nearest integer function.
  2. $F_n=\tfrac{\varphi^n-(-\varphi)^{-n}}{\sqrt 5}.$
  3. $F_{2n}>\varphi F_{2n-1}.$
  4. $F_{m+n}=F_{m-1}F_n+F_mF_{n+1}.$
  5. $F_{n-1}F_{n+1}-F_n^2=(-1)^n.$
  6. $\gcd(F_m,F_n)=F_{\gcd(m,n)}.$
Claim 1. $F_{2n}\mid F_{4n}$ and $F_{2n}\mid F_{4n+1}-1.$

Proof. The first divisibility is trivial by (vi). For the latter part notice that (iv) implies $F_{4n+1}=F_{2n-1}F_{2n+1}+F_{2n}F_{2n+2}\equiv F_{2n-1}F_{2n+1}\pmod{F_{2n}}.$ Using (v) we have that $F_{2n-1}F_{2n+1}-F_{2n}^2=1.$ Hence the claim. $~\square$

The above claim implies that $g(2n)<4n.$ Assume that $k$ is not a Fibonacci number, so let us set $g(2n)=2n+p$ for now where $p\ge 1$. Using (iv) we have $k\equiv F_{2n+p}\equiv F_pF_{n-1}\pmod {F_n}.$ Let $a=\left\lfloor \tfrac{F_p}{\varphi}\right\rfloor$ and $b=F_p-a\varphi.$

Claim 2 $$|F_{n}-\varphi F_{n-1}|=\frac{\varphi^{-n}(2+\varphi)}{\sqrt 5}.$$Proof.
\begin{align*}
      |F_{n}-\varphi F_{n-1}|&=\left|\frac{\varphi^n-(-\varphi)^{-n}}{\sqrt 5}-\varphi\left(\frac{\varphi^{n-1}-(-\varphi)^{-n+1}}{\sqrt 5}\right)\right|\\
      &=\frac{1}{\sqrt 5}\left|\varphi^n-(-\varphi)^{-n}-\varphi^n+(-1)^{n-1}\varphi^{-n+2}\right|\\
      &=\frac{1}{\sqrt 5}\left|(-\varphi)^{-n}+(-1)^{n}\varphi^{-n+2}\right|\\
      &=\frac{1}{\sqrt 5}\left|\varphi^{-n}+\varphi^{-n+2}\right|\\
      &=\frac{\varphi^{-n}(2+\varphi)}{\sqrt 5}.\tag*{$\square$}
  \end{align*}Claim 3. Let $R$ be the remainder when $F_pF_{n-1}$ is divided by $F_n$ where $p\le n-1.$ Then
$$-1+\left\{\frac{F_p}{\varphi}\right\}F_{n-1}<R<1+\left\{\frac{F_p}{\varphi}\right\}F_{n-1}$$for all large $n$ where $\{\cdot\}$ denotes the fractional part.

Proof. Let $b=\left\{\frac{F_p}{\varphi}\right\}$ and $a=\left\lfloor\frac{F_p}{\varphi}\right\rfloor.$ Note that $\lim_{n\to \infty} \frac{a}{\varphi^{p-1}}=5^{-\tfrac12}.$ Now
$$F_pF_{n-1}-aF_n=a(\varphi F_{n-1}-F_n)+bF_{n-1}$$By claim 1 it is not hard to see that the claim follows. $\square$

Therefore it follows that
$$-1+\left\{\frac{F_p}{\varphi}\right\}F_{2n-1}<k<1+\left\{\frac{F_p}{\varphi}\right\}F_{2n-1}\qquad(\star)$$for all large $n$ where $1\le p\le 2n-1$ Again let $b=\left\{\frac{F_p}{\varphi}\right\}$ and $a=\left\lfloor\frac{F_p}{\varphi}\right\rfloor.$ We have $F_p=a\varphi+b$ as usual. By claim 1 it follows that $F_{p-1}=\left[\frac{F_p}{\varphi}\right]$ hence if $p$ is odd then $a=F_{p-1}-1$ and otherwise $a=F_{p-1}.$ Therefore
$$b=F_p-a\varphi= \begin{cases}F_p-F_{p-1}\varphi &,\text{ if }p\text{ is even}\\ F_p-F_{p-1}\varphi+\varphi &,\text{ otherwise }\end{cases}.$$If $p$ is odd, $F_p>F_{p-1}\varphi$ hence $$bF_{2n-1}=(\varphi+F_p-\varphi F_{p-1})F_{2n-1}=F_{2n-1}\cdot\frac{2+\varphi}{\varphi^p\sqrt 5}+F_{2n-1}\varphi\to+\infty$$as $n\to\infty.$ Therefore $p$ must be even for all large $n.$ In this case we obtain
$$bF_{2n-1}=(F_p-\varphi F_{p-1})F_{2n-1}=F_{2n-1}\cdot\frac{2+\varphi}{\varphi^p\sqrt 5}$$Using the fact that $F_{2n-1}\approx \frac{\varphi^{2n-1}}{\sqrt 5}\implies bF_{2n-1}\approx \varphi^{2n-1-p}\cdot\frac{2+\varphi}5$ we can conclude that $2n-p$ is eventually constant. So let $p=2n-c$ for all large $n$ where $c$ is a constant natural number. Since $p$ is even hence $c$ is also even. Now we have that $F_{2n}\mid F_{2n-c}F_{2n-1}-k$ for all large $n.$ Notice that $F_{2n-c}\equiv (-1)^cF_cF_{2n-2}\pmod{F_n}\equiv F_cF_{2n-2}\pmod{F_{2n}}\equiv -F_cF_{2n-1}\pmod{F_n}.$ This implies that $F_{2n}\mid F_c+k$ since $F_{2n-1}^2\equiv F_{2n-1}F_{2n+1}\equiv 1\pmod{F_{2n}}.$ Taking $n\to+\infty$ we obtain a contradiction. And we are done.$~\blacksquare$
This post has been edited 2 times. Last edited by ayan.nmath, Jul 28, 2020, 8:43 AM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
mathfun5
124 posts
#5 • 7 Y
Y by AforApple, Wizard_32, diegoca1, Nuterrow, sabkx, Mango247, bin_sherlo
The answer is yes, and suppose for the sake of contradiction that such a $k$ exists, where $k$ is not a Fibonacci number. Then take $m = F_{2a}$ large enough so that $F_{2a-1} > k$. Let $S_i = F_i \mod F_{2a}$. Then $S_i = F_i$ for $1 \leq i < 2a, S_{2a} = 0$, and it is easy to show by induction that for $ 0 < i < 2a,$ $$ S_{2a+i} = \begin{cases} F_{2a-i} &,\text{ if }i\text{ is odd}\\ F_{2a} - F_{2a-i} &,\text{ if }i\text{ is even}\end{cases}$$Then we find $S_{4a+1} = S_{4a+2} = 1$, so $S_i$ repeats every $4a$ and thus produces no new values after $S_{4a}$. However since $F_n \equiv k \mod F_{2a}$ for some $n$ yet $k$ is not a Fibonacci number and $k < F_{2a-1}$, we have that $k$ must be of the form $F_{2a} - F_{2x}$ for some $1 \leq x \leq a-1$. However the least number of this form is $F_{2a} - F_{2(a-1)} = F_{2a-1}$, so $k > F_{2a-1}$, contradiction, showing no such $k$ exists. $\blacksquare$
This post has been edited 1 time. Last edited by mathfun5, Jul 28, 2020, 9:13 AM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Googolplexian
56 posts
#6 • 1 Y
Y by vvluo
The answer is that k must be a Fibonacci number.

Claim 1: For all positive integers $m, n$ with $n\geq m\geq 2$, $F_n F_m=F_{n+1}F_{m-1}+F_{n+1-m}(-1)^{m-1}$

Proof: Note $F_nF_2=F_n \cdot\ 1=F_n$ and $F_{n+1}F_{1}+F_{n-1}(-1)^1=F_{n+1}-F_{n-1}=F_{n}$ so this is true for $m=2$ and $$F_{n}F_{3}=2F_{n}, F_{n+1}F_{2}+F_{n-2}(-1)^2=F_{n+1}+F_{n-2}=F_{n}+F_{n-1}+F_{n-2}=2F_{n}$$so this is also true for $m=3$.

If it is true for $m-1$ and for $m$, then $$F_{n}F_{m+1}=F_{n}F_{m}+F_{n}F_{m-1}=F_{n+1}F_{m-1}+F_{n+1-m}(-1)^{m-1}+F_{n+1}F_{m-2}+F_{n+2-m}(-1)^{m-2}=F_{n+1}F_{m}+(-1)^{m-2}(F_{n+2-m}-F_{n+1-m})=F_{n+1}F_{m}+(-1)^mF_{n-m}$$so it is also true for $m+1$.
By induction, this completes the proof of the claim.

Claim 2: When taking the Fibonacci sequence modulo F_{n+1}, all residues R with $F_{n-1}<R<F_{n}$ are missing for $n\geq 5$ (this just ensures that the set of such R is nonempty)

Proof: By letting $m=n$ in the above claim, $F_{n}^2=F_{n+1}F_{n-1}+F_{1}(-1)^{n-1} \Rightarrow F_{n+1}F_{n-1}-F_{n}^2=(-1)^n$, so $F_{n}^2 \equiv 1$ or $-1$ mod $F_{n+1}$.

If $F_{n}^2 \equiv 1$ mod $F_{n+1}$, then when writing the sequence modulo $F_{n+1}$, we will get $$1, 1, 2, 3, ..., F_{n-1}, F_{n}, 0, F_{n}\times 1, F_{n}\times 1, F_{n}\times 2, ..., F_{n}F_{n-1}, F_{n}^2 (\equiv 1), 0, 1, 1, 2, 3... $$after which we see it will just repeat.
If If $F_{n}^2 \equiv -1$ mod $F_{n+1}$, then when writing the sequence modulo $F_{n+1}$, we will get $$1, 1, 2, 3, ..., F_{n-1}, F_{n}, 0, F_{n}\times 1, F_{n}\times 1, F_{n}\times 2, ..., F_{n}F_{n-1}, F_{n}^2 (\equiv -1), 0, -1, -1, -2, -3, ...,  -F_{n-1}, -F_{n}, 0, -F_{n}\times 1, -F_{n}\times 1,- F_{n}\times 2, ...,- F_{n}F_{n-1}, -F_{n}^2 (\equiv 1), 0, 1, 1, 2, 3 ... $$and we see that it will just repeat.

Therefore the possible residues we can get are $$0, \pm F_{1}, \pm F_{2},..., \pm F_{n-1}, \pm F_{n}, \pm F_{n}F_{1}, \pm F_{n}F_{2}, ... , \pm F_{n}F_{n-1}, \pm F_{n}^2$$.

Note $F_{n-1}<R<F_{n} \Leftrightarrow F_{n}>F_{n+1}-R>F_{n-1}$, so as none of $F_{1}, F_{2}, ... , F_{n-1}, F_{n}$ lie in the range $F_{n-1}<R<F_{n}$, this means that when taken modulo $F_{n+1}$, none of $-F_{1}, -F_{2}, ... , -F_{n-1}, -F_{n}$ do either.

By Claim 1, we know $F_n F_m=F_{n+1}F_{m-1}+F_{n+1-m}(-1)^{m-1} \equiv (-1)^{m-1}F_{n+1-m}$ mod $F_{n+1}$ for $n\geq m\geq 2$.

Therefore we get that $\pm F_{n}F_{1} \equiv  \pm F_{n}$ mod $F_{n+1}$, and using the above, this means that $\pm F_{n}F_{1}, \pm F_{n}F_{2}, ... , \pm F_{n}F_{n-1}, \pm F_{n}^2$ in some order are congruent to $\pm F_{1}, \pm F_{2},..., \pm F_{n-1}, \pm F_{n}$ mod $F_{n+1}$ and we know that none of these leave a residue R in the required range. This completes the proof of the claim.

If k is not a Fibonacci number, then let $F_{r-1}<k<F_{r}$. Then by the result of Claim 2, there is no positive integer n such that $F_{r+1} \mid F_{n}-k$ and so k must be a Fibonacci number.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
mshtand1
77 posts
#7
Y by
Consider modulo $F_{2l - 2} + F_{2l}$ first $4l - 2$ elements of the sequence:
$F_1, F_2, ..., F_{2l - 1}, - F_{2l - 2}, F_{2l - 3}, - F_{2l - 4}, F_{2l - 5}, ..., - F_{2i}, F_{2i - 1}, ..., - F_2, F_1, 0,$ and after this remainders will be the same.
So, assume on the contrary, that $k$ isn't a Fibonacci number, picking $m =  F_{2l - 2} + F_{2l} > k$ we must have that $k$ is of the form $F_{2l - 2} + F_{2l} - F_{2j}$, where $j \le l - 2$, but all these numbers are from the interval $[F_{2l} + F_{2l - 3} ; F_{2l} + F_{2l - 2}]$, but choosing $l$ large enough, it's obvious, that $k$ can't belong to simultaneously all intervals $[F_{2l} + F_{2l - 3} ; F_{2l} + F_{2l - 2}]$, where $l$ can be large enough, which concludes the proof.
This post has been edited 3 times. Last edited by mshtand1, Mar 31, 2022, 12:14 AM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
shalomrav
330 posts
#8
Y by
mathfun5 wrote:
The answer is yes, and suppose for the sake of contradiction that such a $k$ exists, where $k$ is not a Fibonacci number. Then take $m = F_{2a}$ large enough so that $F_{2a-1} > k$. Let $S_i = F_i \mod F_{2a}$. Then $S_i = F_i$ for $1 \leq i < 2a, S_{2a} = 0$, and it is easy to show by induction that for $ 0 < i < 2a,$ $$ S_{2a+i} = \begin{cases} F_{2a-i} &,\text{ if }i\text{ is odd}\\ F_{2a} - F_{2a-i} &,\text{ if }i\text{ is even}\end{cases}$$Then we find $S_{4a+1} = S_{4a+2} = 1$, so $S_i$ repeats every $4a$ and thus produces no new values after $S_{4a}$. However since $F_n \equiv k \mod F_{2a}$ for some $n$ yet $k$ is not a Fibonacci number and $k < F_{2a-1}$, we have that $k$ must be of the form $F_{2a} - F_{2x}$ for some $1 \leq x \leq a-1$. However the least number of this form is $F_{2a} - F_{2(a-1)} = F_{2a-1}$, so $k > F_{2a-1}$, contradiction, showing no such $k$ exists. $\blacksquare$

This is the best solution here
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Gaussian_cyber
162 posts
#9 • 14 Y
Y by Mathematicsislovely, Wizard_32, Superguy, ayan.nmath, Eliot, hansu, srijonrick, Juanscholtze, amar_04, Aritra12, pog, diegoca1, sabkx, L567
set $k=$ $\prod_{} p{_i} ^{r_i}$
put $m=k \implies f_u = \prod_{} p_{i} ^ {a_i} \times S$ such that $gcd(S,k)=1$ and $a_i \geq r_i$
put $m= \prod_{} p{_i}^{r_{i}+1} \times S$ now $ f_v = \prod p_{i}^{r_i}\times T$ and $gcd (T,Sk)=1$
BUT $f_{gcd(v,u)} $ $ = $ $gcd(f_{v},f_{u})$ = $k$ $\blacksquare$
This post has been edited 4 times. Last edited by Gaussian_cyber, Jul 28, 2020, 12:45 PM
Reason: hide
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Plops
946 posts
#10 • 1 Y
Y by sabkx
This was my favorite problem
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
blacksheep2003
1081 posts
#11 • 5 Y
Y by enzoP14, mijail, Mango247, Mango247, Mango247
Solution
This post has been edited 6 times. Last edited by blacksheep2003, Jul 28, 2020, 1:09 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Eliot
109 posts
#13
Y by
$\mathrm{ }$
This post has been edited 1 time. Last edited by Eliot, Oct 1, 2020, 5:29 PM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
kootrapali
4527 posts
#14
Y by
If $F_{a-2}<k<F_{a-1}$, there is a contradiction at $m=F_a$.
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
#15 • 2 Y
Y by mijail, oceanxia
The answer is yes. We are given that for every $m\in \mathbb{N}$, there exists a Fibonacci number that is $k\pmod m$, with $k$ fixed. Consider the modulus $m=F_{2N}+F_{2N-2}$ for some $N$. All equivalences that follow will be in mod $m$.

Claim: $F_{2N+a} \equiv (-1)^{a+1}F_{2N-a-2}$ for all $a\ge 0$.

Proof: This is easy to see by induction, base case $a=0$ obvious. We have
\begin{align*}
     F_{2N+a+2}&=F_{2N+a+1}+F_{2N+a} \\
     &\equiv (-1)^{a+2} F_{2N-a-3} + (-1)^{a+1} F_{2N-a-2} \\
     &\equiv (-1)^a [F_{2N-a-3} - F_{2N-a-2}] \\
     &\equiv (-1)^{a+3} F_{2N-a-4}.
\end{align*}This completes the induction. $\square$

Now, the residues of $(F_0,\ldots,F_{4N-3})$ mod $m$ are
\[  (F_0, F_1,\ldots, F_{2N-1}, -F_{2N-2}, F_{2N-3}, -F_{2N-4}, F_{2N-5},\ldots, -F_2, F_1). \]Therefore, $F_{4N-2}\equiv F_0$, $F_{4N-1} \equiv F_1$. This means that the sequence $(F_i \mod m)$ for $i\ge 0$ is periodic with period $4N-2$. So actually all the residues possible are in the list above.

Now, just take $N$ large enough so that $k+F_{2N-2} < m$, i.e. $k<F_{2N}$. Then, we can never have $k\equiv -F_{2N-2\ell}$ for any $\ell=1,\ldots,N-1$ since $k+F_{2N-2\ell} < m=F_{2N}+F_{2N-2}$. This forces $k\equiv F_\ell$ for some $0\le \ell \le 2N-1$. But since $F_{\ell},k < F_{2N} < m$, this actually forces $k=F_{\ell}$. The end.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
babubhaiyya123
10 posts
#16
Y by
MarkBcc168 wrote:
Define the Fibonacci numbers by $F_1 = F_2 = 1$ and $F_n = F_{n-1} + F_{n-2}$ for $n\geq 3$. Let $k$ be a positive integer. Suppose that for every positive integer m there exists a positive integer $n$ such that $m \mid F_n-k$. Must $k$ be a Fibonacci number?

Proposed by Fedir Yudin.

We claim that the answer is $k = F_t$ for some $t \in \mathbb{N}$.

Now, $a$ is a Fibonacci number if and only if either amongst $5a^2 \pm 4$ is a perfect square. So, $F_{t^\prime} \equiv k \pmod{p}$ for any prime $p$ which yields a contradiction as we can choose a large enough prime for which $k$ is not a quadratic residue (a lemma which states that given a natural number q, there exists a prime p such that $x^2 \equiv q \pmod{p}$ has no solutions.

Hence, it forces us to have that $k$ is a Fibonacci number.

Edit : Some people PMed me so here's the final conclusion logic : We have that $k \equiv F_{t^\prime} \equiv 5b^2 \pm 4 \pmod{p}$. Now, we consider if $k \equiv 5b^2 + 4 \pmod{p}$. Clearly, $b^2 \equiv \frac{k-4}{5} \pmod{p}$ and we can clearly choose a sufficiently large enough prime $p$ for which the fraction $\frac{k-4}{5}$ is not a quadratic residue using aforementioned lemma unless $k = 4, 9$ for which the given claim can be contradicted too and similarly we continue for $k \equiv 5b^2 -4$.
This post has been edited 2 times. Last edited by babubhaiyya123, Jul 29, 2020, 7:00 AM
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Eliot
109 posts
#17
Y by
babubhaiyya123 wrote:
We claim that the answer is $k = F_t$ for some $t \in \mathbb{N}$.
Now, $a$ is a Fibonacci number if and only if either amongst $5a^2 \pm 4$ is a perfect square.
could you prove the second claim?
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Imayormaynotknowcalculus
974 posts
#18
Y by
Eliot wrote:
babubhaiyya123 wrote:
We claim that the answer is $k = F_t$ for some $t \in \mathbb{N}$.
Now, $a$ is a Fibonacci number if and only if either amongst $5a^2 \pm 4$ is a perfect square.
could you prove the second claim?

This follows from the method of solving Pell's equation.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Gomes17
132 posts
#19 • 22 Y
Y by Imayormaynotknowcalculus, rcorreaa, Loppukilpailija, Mathlete2017, Mathotsav, leibnitz, A-Thought-Of-God, achen29, CANBANKAN, Uagu, vwu, Juanscholtze, k12byda5h, ProblemSolver2048, TheBarioBario, Supercali, darkgreen-hand, 554183, CT17, puntre, centslordm, nguyenloc1712
Take the smallest $d>0$ such that $k|F_d$. Hence there is $n$ such that
$$F_d|F_n-k$$So $k|F_n$. By $d$'s minimality, $d|n$ and therefore $F_d |F_n$, so $F_d|k$, hence $k=F_d$.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
shalomrav
330 posts
#20
Y by
Gomes17 wrote:
Take the smallest $d>0$ such that $k|F_d$. Hence there is $n$ such that
$$F_d|F_n-k$$So $k|F_n$. By $d$'s minimality, $d|n$ and therefore $F_d |F_n$, so $F_d|k$, hence $k=F_d$.

Wow this is nice
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
p_square
442 posts
#21 • 11 Y
Y by Mindstormer, Idio-logy, MarkBcc168, rocketscience, Imayormaynotknowcalculus, aops29, ghu2024, Supercali, MatBoy-123, bin_sherlo, L567
Take $m = F_s$ to be a fibonacci number divisible by $k^2$
Suppose $F_s \mid F_n - k$
We have $F_{\gcd(s,n)} = \gcd(F_n,F_s) = k$
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
Physicsknight
635 posts
#25
Y by
We have $4$ lemmas from the problem
  • $F_{nk} $ is a multiple of $F_k \quad (\star) $
  • $F_{(m+n)}=F_mF_{(n+1)}+F_nF_{(m-1)} \quad (\bullet) $
  • $\sum_{i=0}^{2n+1}(2n+1i)F_i^2=5^n\cdot F_{(2n+1)}\quad (\square)$
  • $\gcd(F_m,F_n)=F_{(\gcd(m,n))}\quad(\diamondsuit)$
We will prove
Conjecture- For every prime $p,$ there exists a number $n$ such that $F_n=1\pmod{p}$ and $F_{n+1}=0\pmod{p}\implies F\,\text {is the periodic with the interval}=p. $
It can be solved by $(\bullet) $ and $(\square). $
This conjecture only $\implies (\square)$ when $p>5.$ We can verify that when
$p=2$
$ F_{3\cdot 2^k}$ is divisible by $2^{k+1}.$

$p=3$
$F_{4\cdot 3^k}$ is divisible by $3^{k+1}$
$F_{5^k}$ is divisible by $5^k $

Factorisation

Conjecture 2- For prime $p$ and the number $k,$ if $n$ is the smallest number satisfies $F_n $ is divisible by $p\implies F_{n\cdot p^k}\,\text{is  divisible by}\,p^{k+1}.$

This can be proved by induction, with the periodicity of $F$ in $\pmod{p}.$
From $(\star)$ and $(\diamondsuit)$ we can deduce that for every number $m,$ there exists index $n $ such that $F_n $ is the multiple of $m. $

There exists an index $n $ such that $p^k\mid F_n$ could be proved by applying pigeonhole theorem.
Proof- Assume at step $k, $ there exists an index $n $ such that $p^k\mid F_n. $ Consider all the values of $F_{nq}.$ There always exists $2$ values $q_1$ and $q_2$ such that $F_{nq_1}=F_{nq_2}(\pmod{p^{k+1}}).$
Applying $(\bullet)$ note that all $F_{nq+1} $ or $F_{nq-1} $ has the remainder $=1\text {modulo p},$ we obtain the desired index $q $ such that $F_{nq}=0 (\pmod {p^{k+1}}). $

Back to the main problem
For each number $k $ which is not a $\text{Fibonacci} $ number we take the smallest number $q$ such that $k\mid F_q.$ Choose $m=F_q. $
From this hypothesis $,F_n=k\pmod{F_q} $
We obtain $k\mid\gcd(F_n,F_q)=F_{\gcd(n,q)}$
combining with $q\implies q\mid\gcd(n,q)\implies q\mid n.$
So $F_q\mid k $ leads to a contradiction.
For the converse part $, $ if $k=F_q. $ For every number $m, $ there exists $r $ such that $F_r$ is divided by $m.$ Choose number $n $ such that $n=q\pmod{r}\implies F_n=F_q\pmod{F_r}.$
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
ProblemSolver2048
104 posts
#26
Y by
Gomes17 wrote:
Take the smallest $d>0$ such that $k|F_d$. Hence there is $n$ such that
$$F_d|F_n-k$$So $k|F_n$. By $d$'s minimality, $d|n$ and therefore $F_d |F_n$, so $F_d|k$, hence $k=F_d$.

how is it that nice
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
ProblemSolver2048
104 posts
#27
Y by
I think that all of these posts were quite similar though this one involved quadratic residues which was already mentioned though I mean there arent really that many solutions that you can think of, I edited this one a bit though.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
GeronimoStilton
1521 posts
#28 • 2 Y
Y by mathlete5451006, centslordm
The answer is yes.

Lemma: For all $k\ge 2$, $F_k^2 + (-1)^k = F_{k-1}F_{k+1}$.

Proof: We use induction. The base case is immediate. For $k\ge 3$, write
\[F_{k-1}F_{k+1} = F_{k-1}^2 + F_{k-1}F_k = F_{k-2}F_k - (-1)^{k-1} + F_{k-1}F_k = F_k^2 + (-1)^k\]by the inductive hypothesis.

This enables us to determine the residues of Fibonacci numbers modulo other Fibonacci numbers much more efficiently. In particular, note that as $F_k\equiv 0\pmod{F_k}$ and $F_{k+1} \equiv F_{k-1}\cdot 1\pmod{F_k}$, we have $F_a \equiv F_{k-1} \cdot F_{a-k}\pmod{F_k}$ for all $a>k$, and so $F_a\equiv F_{a-4k}\pmod{F_k}$ for all $a>4k$.

Then for each $n$, to check whether it is congruent to a Fibonacci number modulo $F_k$ it is sufficient to check the Fibonacci numbers $F_1, F_2, \dots, F_{4k}$. It is well-known that every positive integer divides a Fibonacci number (use pigeonhole principle then work backwards), so we only need to worry about Fibonacci numbers anyway. In fact, every positive integer must divide a Fibonacci number of the form $F_{2k}$. So consider some positive integer $n$ that is not a Fibonacci number but is congruent to Fibonacci numbers modulo $F_{2k}$ and $F_{2k-2}$. Then by an analogous argument before, we can say $n\equiv F_{t_1}$ or $n\equiv F_{t_1}F_{2k-1}$ modulo $F_{2k}$ for some $1\le t_1\le 2k$, and $n\equiv F_{t_2}$ or $n\equiv F_{t_2}F_{2k-1}$ modulo $F_{2k-2}$ for some $1\le t_2\le 2k-2$. We check beforehand that $F_{2k-2} > n$. Thus it is certainly not congruent to $F_{t_1}$ or $F_{t_2}$ modulo either. Moreover, this ensures $t_2\ne 2k-2$ and $t_1\ne 2k$ because otherwise $n$ is a Fibonacci number, contradicting the assumption. Observe that $t_1 = 2k-1$ would yield $n\equiv F_{2k-1}^2 \equiv F_{2k}F_{2k-2} + 1 \equiv 1\pmod{F_{2k}}$. As $1$ is a Fibonacci number, this would also contradict the assumption. So $1\le t_1\le 2k-2$. Analogously, $1\le t_2\le 2k-4$. Let $n = F_{t_1}F_{2k-1} - aF_{2k}$ for some $a < F_{2k-1}$ and $n = F_{t_2}F_{2k-1} - bF_{2k-2}$ for some $b < F_{2k-1}$. To see the inequalities, note
\[aF_{2k} < F_{t_1}F_{2k-1} < F_{2k}F_{2k-1}, bF_{2k-2} < F_{t_2}F_{2k-1} < F_{2k-2}F_{2k-1}.\]Then
\[(F_{t_1} - F_{t_2})F_{2k-1} = aF_{2k} - bF_{2k-2} = aF_{2k-1} + (a-b)F_{2k-2}.\]Modulo $F_{2k-1}$, this implies $a=b$ because $\gcd(F_{2k-2},F_{2k-1}) = 1$ and $|a-b| < F_{2k-1}$. Moreover, $b = a=F_{t_1} - F_{t_2}$. So
\[n = F_{t_1}F_{2k-1} - (F_{t_1} - F_{t_2})F_{2k} = F_{t_1}(F_{2k+1} - F_{2k}) - (F_{t_1} - F_{t_2})F_{2k} = F_{t_1}F_{2k+1} - (2F_{t_1}-F_{t_2})F_{2k}.\]But by an analogous argument, supposing $n$ is a Fibonacci number modulo $F_{2k+2}$ as well, we can also write this number as
\[F_{t_4}F_{2k+1} - (F_{t_3} - F_{t_4})F_{2k}\]for some $t_3 \le 2k, t_4 \le 2k-2$. Thus, we have
\[(F_{t_4} - F_{t_1})F_{2k+1} = F_{2k}\cdot (F_{t_3} - F_{t_4} + F_{t_2} - 2F_{t_1}).\]It is clear that $\gcd(F_{2k}, F_{2k+1}) = 1$, so because $F_{2k}\mid F_{t_4} - F_{t_1}$, we must have $t_4 = t_1$. Thus $F_{t_3} + F_{t_2} = 3F_{t_1}$. As $F_{t_2} < F_{t_1}$ and $F_{t_3} > F_{t_4} = F_{t_1}$, we must have $2F_{t_1} < F_{t_3} < 3F_{t_1}$. This can only occur if $F_{t_3} = F_{t_1+2}$. This is because $F_{t_1} < F_{t_1+1} < F_{t_1} + F_{t_1-1}$ and $F_{t_1+2} = F_{t_1} + F_{t_1} + F_{t_1-1}$. So $t_1 + 2 = t_3$ and $t_1 - 2 = t_2$. So the original formula was
\[n = F_{t_1}F_{2k-1} - F_{t_1-1}F_{2k} = (F_{t_1-1}+F_{t_1-2})F_{2k-1} - F_{t_1-1}(F_{2k-1}+F_{2k-2}) = F_{t_1-2}F_{2k-1} - F_{t_1-1}F_{2k-2} = \]\[F_{t_1-2}(F_{2k-2}+F_{2k-3}) - (F_{t_1-2}+F_{t_1-3})F_{2k-2} = F_{t_1-2}F_{2k-3} - F_{t_1-3}F_{2k-2}.\]Iterating, we eventually get that for some $x$, either $n = 2F_{2x-1} - F_{2x} = F_{2x-1} - F_{2x-2} = F_{2x-3}$ or $n = F_{2x-1} - F_{2x} = -F_{2x-2}$. Either way, we get a contradiction, 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.
IAmTheHazard
5000 posts
#29 • 1 Y
Y by centslordm
The answer is yes. Let $\alpha=\tfrac{1+\sqrt{5}}{2}$, so $F_n=\tfrac{\alpha^n-(-\alpha)^{-n}}{\sqrt{5}}$. It is well-known that $k$ is a Fibonacci number iff at least one of $5k^2-4$ and $5k^2+4$ is a perfect square.

Suppose that $k$ was not a Fibonacci number, so neither $5k^2-4$ nor $5k^2+4$ are squares. Let $p_1,\ldots,p_a$ be the odd primes dividing $5k^2-4$ with $\nu_{p_i}(5k^2-4)$ odd, and $q_1,\ldots,q_b$ be the odd primes dividing $5k^2+4$ with $\nu_{q_i}(5k^2+4)$. Note that these are all distinct, since $\gcd(5k^2-4,5k^2+4) \mid 8$, and none of these can be $5$. If both $a \geq 1$ and $b \geq 1$, then by Dirichlet pick some prime $p \equiv 1 \pmod{8}$, $p \equiv 1 \pmod{5}$, $p \equiv 1 \pmod{p_i}$ and $p \equiv 1 \pmod{q_i}$ for $i \geq 2$, and $p$ equivalent to non-quadratic residues modulo $p_1$ and $q_1$. Because $p \equiv 1 \pmod{8}$, we have $(\tfrac{p}{q})(\tfrac{q}{p})=1$ for any odd prime $q$, and $(\tfrac{2}{p})=1$. Then,
$$\left(\frac{5k^2-4}{p}\right)=\left(\frac{\varepsilon p_1\ldots p_a}{p}\right)=\left(\frac{\varepsilon}{p}\right)\left(\frac{p_1}{p}\right)\ldots\left(\frac{p_a}{p}\right)=\left(\frac{p}{p_1}\right)\ldots\left(\frac{p}{p_a}\right)=-1,$$where $\varepsilon \in \{1,2\}$ based on the parity of $\nu_2(5k^2-4)$. Likewise, $(\tfrac{5k^2+4}{p})=-1$. If $\min\{a,b\}=0$, i.e. one of $5k^2-4$ and $5k^2+4$ is twice a perfect square, then the another one cannot be by looking at $\nu_2$, so WLOG let $a=0$ and $b \geq 1$. Then pick some prime $p \equiv 5 \pmod{8}$, $p \equiv 1 \pmod{5}$, $p \equiv 1 \pmod{q_i}$ for $i \geq 2$, and $p$ equivalent to a non-quadratic residue modulo $q_1$. We still have $(\tfrac{p}{q})(\tfrac{q}{p})=1$, but now $(\tfrac{2}{p})=-1$. For a similar reason to before, $(\tfrac{5k^2+4}{p})=-1$, and $(\tfrac{5k^2-4}{p})=(\tfrac{2}{p})=-1$.
Furthermore, for this value of $p$, since $(\tfrac{5}{p})=(\tfrac{p}{5})=1$, $\sqrt{5} \in \mathbb{F}_p \implies \alpha \in \mathbb{F}_p \implies \alpha^n \in \mathbb{F}_p$. Therefore, one of the following equations must have a root in $\mathbb{F}_p$:
$$x+\frac{1}{x}=k\sqrt{5} \iff x^2-k\sqrt{5}+1=0 \text{ or } x-\frac{1}{x}=k\sqrt{5} \iff x^2-k\sqrt{5}-1=0.$$By using the quadratic formula, this means that either $5k^2-4$ or $5k^2+4$ is a square in $\mathbb{F}_p$, but this contradicts the construction of $p$. $\blacksquare$
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
awesomeming327.
1665 posts
#30
Y by
First, we prove the results
\begin{align*}
F_{4n+2} &= F_{2n+1}(F_{2n+2}+F_{2n}) \\
F_{4n+3} &= F_{2n+2}(F_{2n+2}+F_{2n}) + 1
\end{align*}Therefore, taking the fibonacci sequence $\pmod {F_{2n+2}+F_{2n}}$ loops very quickly, specifically with period $4n+2$. Therefore, the sequence will loop in the following way: first the $2n+1$ fibonacci numbers, then the reverse fibonacci sequence $F_{-1}$, $F_{-2}$, $F_{-3}$, $\dots$, which is just the fibonacci numbers times $(-1)^n$, so as long as $k$, the non-fibonacci number, is less than the $2n+1$th fibonacci number, $k$ does not appear as a residue class. Pick $n$ as large as needed, proving that $k$ must be a fibonacci number.

Here is an example visualizing this, with $F_6+F_8=29$:
\[0,1,1,2,3,5,8,13,21\text{ or }-8,5,26\text{ or }-3,2,28\text{ or }-1,1,0\]All non-fibonacci numbers less than $13$ are immediately ruled out.
Z K Y
The post below has been deleted. Click to close.
This post has been deleted. Click here to see post.
pi271828
3363 posts
#31
Y by
The answer is yes. For contradiction, assume that there exists a $k$ that satisfies the condition and is not a Fibonacci number. Recall that $F_n$ is always periodic $(\text{mod }k)$, so we can find some $\ell$ such that $k \mid F_{\ell}$. Also, recall the well-known fact that $\operatorname{gcd}(F_k, F_\ell) = F_{\operatorname{gcd}(k, \ell)}$. Setting $m = F_\ell$, we have that \begin{align*} k = \operatorname{gcd}(F_n, F_\ell) = F_{\operatorname{gcd}(n, \ell)}\end{align*}which gives us the desired contradiction. $\square$
Z K Y
N Quick Reply
G
H
=
a