so the question boils down to solve for all positive integer n,m such that:
3n*(n+1)/2=2*m*(m+1)
Printable View
so the question boils down to solve for all positive integer n,m such that:
3n*(n+1)/2=2*m*(m+1)
Interesting
lets see....from the series 1->k rule we have:
1) 3n(n+1)/2 = 3(1+2+3+4+...+n)
2) 2m(m+1) = 4(1+2+3+4+..+m)
Obviously this means n>m as both are >0
Just one thing to think about.
this leads to:
1+2+3+...+m = ([m+1]+[m+2]+...+n)*3
=> 6 is a factor of m(m+1)
=> m^2+m-6k=0
=> m= [-1 + sqrt(1+24k^2)]/2
=> narrows down possibilies for m (though not all work, like when k=1)
Also, using quadratic formula:
3n^2+3m=4m^2+4m
=> m=(-1+sqrt(3n^2+3n+1))/2
=> 3n^2+3n+1=d^2, where d>1
Just a few ideas..no answers though
...
Some solutions include:
n,m=
7,6
104,90
1455,1260
20272,17556
282359,244530
3932760,3405870
54776287,47437656
Just thought u'd like to know.
All the right hand side are multiples of 6.
P.S. Thanks go to someone else who programmed to find these.
Also, if you say:Quote:
Originally posted by sql_lall
Some solutions include:
n,m=
7,6
104,90
1455,1260
20272,17556
282359,244530
3932760,3405870
54776287,47437656
Just thought u'd like to know.
All the right hand side are multiples of 6.
P.S. Thanks go to someone else who programmed to find these.
M0 = 0
M1 = 6
M2 = 90
then M(k+1) = 14*Mk - M(k-1) + 6
;)
PS:
I believe
762935264, 660721320
10626317415, 9202660830
148005508552, 128176530306
2061450802319, 1785268763460
28712305723920, 24865586158140
399910829332567, 346332937450506
....
also works,
And, there's an interesting event if you check N(k+1) out.
;)
Looks like the semi-generic sequence for N(k+1) and M(k+1) is the following:
Given a*N*(N+1) = b*M*(M+1), where
b = a + 1, then:
N(k+1) = 2*N1*Nk - N(k-1) + M1
M(k+1) = 2*N1*Mk - M(k-1) + M1
where:
N0 = 0 , M0 = 0
N1 = 2a+1 , M1 = 2a
;)
-Lou
hmmm,
now what's the generic iterative sequence for N(k+1) and M(k+1)
when, given a*N*(N+1) = b*M*(M+1),
b = a + t, t > 0?
hmm,
I just wanted to investigate aX(X+1) = bY(Y+1), specifically
I put a progie together to return the first nonzero X:Y as a and b varies from 1 to 25, testing all values X:Y from 1 to 3000.
{returns a tab deliminated table to the clipboard, where a varies from left to right, and b varies from top to bottom}
Obviously, its symetric across the a = b diagonal.
And, I noticed that when a is a square and b is a square, when a <> b, then
either there are no first nonzero X1:Y1 pairs, or else they are > 3000.
Secondly, of course, when a and b are non-relative prime, they match their reduced values cell entry:
ie... cell(3, 6) = cell(1,2)
So, for all to play with, attached is a zipped pdf displaying the results as a, b varies from 1 to 25.
;)
-Lou
And, I was wondering,
Can anyone figure out the iterative sequence for X, Y from the following:
X(X+1) = 7Y(Y+1)
X0 = 0, Y0 = 0, and the pairs
Xk, Yk, as k = 0 thru 6 are:
0 0
6 2
14 5
104 39
231 87
1665 629
3689 1394
:)
-Lou
And, if anyone wants, Here's a progie that tests X, Y over a range of 1 thru 5000, such that it returns the X, Y that satisfies:
aX2 + bX + c = dY2 + eY + f
{Just as long as you don't overflow it, and always use numeric values}
;)
-Lou
i'll have some details tomorrow
Hmm, I just noticed Nk = (1/6)*(7*Mk - M(k-1))Quote:
Originally posted by NotLKH
Also, if you say:
M0 = 0
M1 = 6
M2 = 90
then M(k+1) = 14*Mk - M(k-1) + 6
;)
...
;)
Shouldn't be too much longer.Quote:
Originally posted by bugzpodder
i'll have some details tomorrow
I can't get past the Iterative solution for Nk and Mk!
I'll play some more, see if I can get a power series based on 14k working, but it seems difficult to generalize.
;)
-Lou
Hmmmm,
Is this the form of an answer you want?
I was starting to think Iterative sequences weren't what you wanted.Quote:
Xn+1 = P*Xn + Q*Yn + K
Yn+1 = R*Xn + S*Yn + L
-Lou
(m_1,n_1)=(6,7)
(m_2,n_2)=(90,104)
and m_k=14m_(k-1)-m_(k-2)+6
n_k=14m_(k-1)-m_(k-2)+6
and of course, (m_k,n_k) are solutions to the equation
Cool. I was right.Quote:
Originally posted by NotLKH
Also, if you say:
M0 = 0
M1 = 6
M2 = 90
then M(k+1) = 14*Mk - M(k-1) + 6
And, there's an interesting event if you check N(k+1) out.
;)
By the way, you might like to check this site out:
http://www.alpertron.com.ar/QUAD.HTM
It supposedly solves Diophantine equations.
-Lou