All about flooble | fun stuff | Get a free chatterbox | Free JavaScript | Avatars    
perplexus dot info

Home > Just Math
List of pairs (Posted on 2015-12-04) Difficulty: 2 of 5
There are infinitely many ordered pairs (m,n) of positive integers for which
m + (m+1) + (m+2) + ... (n-1) + n = mn.

List the first five pairs ordered by values of m.

No Solution Yet Submitted by Ady TZIDON    
No Rating

Comments: ( Back to comment list | You must be logged in to post comments.)
Solution Solution Comment 3 of 3 |
I'll start with Charlie's equation n^2 - m^2 + m + n - 2nm = 0.
Rearrange this into (m+n)^2 - 1*(m+n) +(1/4)n^2= (9/4)*n^2.
Then m+n-(1/2) = sqrt[2n^2+(1/4)]
Eliminating fractions and roots yields (2m+2n-1) - 8n^2 = 1
This is a Pell Equation with x=2m+2n-1, y=n, and D=8. 

This Pell equation has a recursive solution with 
x_1=3, x_2=17, x_t = 6*x_(t-1) - x_(t-2) OEIS A001541
and y_1=1, y_2=6, y_t = 6*y_(t-1) - y_(t-2) OEIS A001109

y=n is simple, so that leaves m. 2m+2n-1 = x and y=n then implies m = (x+1)/2-y.  Using induction m_t = 6*m_(t-1) - m_(t-2) - 2 OEIS A011900

So, the sequence of ordered pairs begins with (1,1), (3,6), (15,35), (85,204), (493,1189), ....

  Posted by Brian Smith on 2020-06-20 10:30:47
Please log in:
Login:
Password:
Remember me:
Sign up! | Forgot password


Search:
Search body:
Forums (0)
Newest Problems
Random Problem
FAQ | About This Site
Site Statistics
New Comments (16)
Unsolved Problems
Top Rated Problems
This month's top
Most Commented On

Chatterbox:
Copyright © 2002 - 2024 by Animus Pactum Consulting. All rights reserved. Privacy Information