Results 1 to 15 of 15

Thread: diophantine equation

  1. #1

    Thread Starter
    Fanatic Member bugzpodder's Avatar
    Join Date
    Jun 2002
    Location
    Ontario, Canada
    Posts
    787

    diophantine equation

    so the question boils down to solve for all positive integer n,m such that:
    3n*(n+1)/2=2*m*(m+1)
    Massey RuleZ! ^-^__Cheers!__^-^ Massey RuleZ!


    Did you know that...
    The probability that a random rational number has an even denominator is 1/3 (Salamin and Gosper 1972)? This result is independently verified by me (2002)!

  2. #2
    Fanatic Member sql_lall's Avatar
    Join Date
    Jul 2002
    Location
    Up Above (i.e. AUS)
    Posts
    571
    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
    sql_lall

  3. #3

    Thread Starter
    Fanatic Member bugzpodder's Avatar
    Join Date
    Jun 2002
    Location
    Ontario, Canada
    Posts
    787
    ...
    Massey RuleZ! ^-^__Cheers!__^-^ Massey RuleZ!


    Did you know that...
    The probability that a random rational number has an even denominator is 1/3 (Salamin and Gosper 1972)? This result is independently verified by me (2002)!

  4. #4
    Fanatic Member sql_lall's Avatar
    Join Date
    Jul 2002
    Location
    Up Above (i.e. AUS)
    Posts
    571

    Talking Some solutions:

    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.
    sql_lall

  5. #5
    pathfinder NotLKH's Avatar
    Join Date
    Apr 2001
    Posts
    2,397

    Re: Some solutions:

    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.
    Also, if you say:

    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.


  6. #6
    pathfinder NotLKH's Avatar
    Join Date
    Apr 2001
    Posts
    2,397
    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?

  7. #7
    pathfinder NotLKH's Avatar
    Join Date
    Apr 2001
    Posts
    2,397
    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
    Attached Files Attached Files

  8. #8
    pathfinder NotLKH's Avatar
    Join Date
    Apr 2001
    Posts
    2,397
    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

  9. #9
    pathfinder NotLKH's Avatar
    Join Date
    Apr 2001
    Posts
    2,397
    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
    Attached Files Attached Files

  10. #10

    Thread Starter
    Fanatic Member bugzpodder's Avatar
    Join Date
    Jun 2002
    Location
    Ontario, Canada
    Posts
    787
    i'll have some details tomorrow
    Massey RuleZ! ^-^__Cheers!__^-^ Massey RuleZ!


    Did you know that...
    The probability that a random rational number has an even denominator is 1/3 (Salamin and Gosper 1972)? This result is independently verified by me (2002)!

  11. #11
    pathfinder NotLKH's Avatar
    Join Date
    Apr 2001
    Posts
    2,397

    Re: Re: Some solutions:

    Originally posted by NotLKH
    Also, if you say:

    M0 = 0
    M1 = 6
    M2 = 90

    then M(k+1) = 14*Mk - M(k-1) + 6



    ...
    Hmm, I just noticed Nk = (1/6)*(7*Mk - M(k-1))

  12. #12
    pathfinder NotLKH's Avatar
    Join Date
    Apr 2001
    Posts
    2,397
    Originally posted by bugzpodder
    i'll have some details tomorrow
    Shouldn't be too much longer.
    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

  13. #13
    pathfinder NotLKH's Avatar
    Join Date
    Apr 2001
    Posts
    2,397
    Hmmmm,

    Is this the form of an answer you want?

    Xn+1 = P*Xn + Q*Yn + K
    Yn+1 = R*Xn + S*Yn + L
    I was starting to think Iterative sequences weren't what you wanted.


    -Lou

  14. #14

    Thread Starter
    Fanatic Member bugzpodder's Avatar
    Join Date
    Jun 2002
    Location
    Ontario, Canada
    Posts
    787
    (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
    Massey RuleZ! ^-^__Cheers!__^-^ Massey RuleZ!


    Did you know that...
    The probability that a random rational number has an even denominator is 1/3 (Salamin and Gosper 1972)? This result is independently verified by me (2002)!

  15. #15
    pathfinder NotLKH's Avatar
    Join Date
    Apr 2001
    Posts
    2,397

    Re: Re: Some solutions:

    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.

    Cool. I was right.

    By the way, you might like to check this site out:

    http://www.alpertron.com.ar/QUAD.HTM

    It supposedly solves Diophantine equations.

    -Lou

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width