Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Message from discussion Application of Diophantine equations
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Mensanator  
View profile  
 More options Oct 6 2009, 10:40 pm
Newsgroups: sci.math
From: Mensanator <mensana...@aol.com>
Date: Tue, 6 Oct 2009 15:40:39 -0700 (PDT)
Local: Tues, Oct 6 2009 10:40 pm
Subject: Re: Application of Diophantine equations
On Oct 6, 4:40 pm, "maryK" <inva...@invilidinvalid.com> wrote:

> "Konstantin Smirnov" <konstantin.e.smir...@gmail.com> wrote in message

> news:8cbfba3b-d0fb-4dc9-a3f4-ea0cafcf3634@a6g2000vbp.googlegroups.com...

> > Dear number theorists,
> > what you can say about modern applications of Diophantine equations,
> > especially having large numbers solutions (>10^10-10^20)? In general,
> > number
> > theory is a standalone fundamental area, and Diophantine equations can
> > be
> > investigated only as a part of work in number theory. But can you
> > suggest
> > any significant applications that use Diophantine equations? If you
> > work
> > with such applications, please post what type of equations you use in
> > this area.
> > Mostly I am interested in equations like x^k+y^l+z^m=t^n. Is there any
> > practical benefit from them or such equations are only of theoretical
> > interest? What are main areas besides cryptography and coding?
> > Also what is the fastest program for search of solutions of such
> > equations? Mathematica, Maple, Pari GP or smth else?

> > Thanks
> > Konstantin

> not much use for them
> mathematical curiosities mostly

Linear ones are useful, a form of which is the Hailstone Function

    X*a - Z
g = -------
       Y

in the Collatz Conjecture (where X,Y,Z are constants and we want
integer solutions for g and a).

One nice thing is that every Yth 1st generation solution is a second
generation solution, starting from the a1_kth solution, every third
generation solution is the Yth second generation solution starting
from
the a2_mth solution, every fourth generation solution is the a3_nth
solution, etc.

If you're lucky, and k = m = n = ..., then a closed form equation can
be derived such as this one for the ith, kth Generation Type [1,2]
Mersenne Hailstone:

Type12MH = 2**(6*((i-1)*9**(k-1)+(9**(k-1)-1)//2+1)-1)-1

This was derived from solving the linear congruence X*a == Z (mod Y)
which can be used to find solutions the the linear Diophantine
equation
given above. BTW, Type12MH(6,1) has 53338 decimal digits.

If you are unlucky, k != m != n ...

But with a little cleverness, you can make a recursive function with
generation one being X*a == Z (mod Y) which can be solved by

 a = gmpy.invert(X,Y) * Z % Y

and to get higher generations, merely use

 a = (((gmpy.invert(xyz[1]-xyz[0],xyz[1]**(k-1))*(xyz[1]**(k-1)-
prev_gen[2]))_
      % xyz[1]**(k-1))//xyz[1]**(k-2))*xyz[1]**(k-1) + prev_gen[3]

which solves the multigenerational linear Diophantine equation where
k,m,n,etc. are different.

For example

>>> sv = [i for i in range(666)] # sequence of 666 consecutive numbers
>>> xyz = cf.calc_xyz(sv)
>>> a = cf.geni(666,666,xyz)     # find the 666th instance of the 666th generation
>>> gmpy.numdigits(a)

211634                           # it has that many digits!

    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2010 Google