Talk:Quadratic reciprocity

Latest comment: 8 years ago by InternetArchiveBot in topic External links modified

comment on Fermat's theorem

edit

Dear DYLAN LENNON,

Could you please explain how you intend to use quadratic reciprocity to prove fermat's theorem on sums of two squares. The only part that I can see is vaguely relevant is the first supplementary theorem, i.e. that  , which is by far the most trivial part of QR. (I have taken the liberty of reverting your edit again until you can provide an explanation.) Dmharvey 01:53, 5 February 2006 (UTC)Reply

You can learn by reading this note. (http://www.math.nmsu.edu/~history/book/numbertheory.pdf) Good luck DYLAN LENNON 02:45, 5 February 2006 (UTC)Reply

I've had a look, and I can't find what you mean. Could you give a page number perhaps? Even better, which paragraph/sentence supports your claim? Dmharvey 02:50, 5 February 2006 (UTC)Reply

ZX81

edit

There is this lovely line in the ZX81 manual:

65537 is a Fermat prime,  . Use this, and Gauss's Law of Quadratic Reciprocity, to prove that 75 is a primitive root modulo 65537.

Needless to say I am none the wiser!

Having now discovered the primitive root modulo n page, it transpires that all I needed to do was to verify that  

n-th reciprocity

edit

Is there a further formulation of reciprocity?? let's say an study of the solutions:

    —The preceding unsigned comment was added by 85.85.100.144 (talk) 21:01, 19 February 2007 (UTC).Reply

Python code for residue table

edit

I started trying to make a table of residues to illustrate quadratic reciprocity, but it soon got very painful to do by hand. So I wrote a Python script (my first!) to do it for me. Of course, just editing the script here won't update the table, you'll have to run it on your own machine :-)


    # find primes from 3 up to max
    max = 50
    primes = []
    for n in range(3, max):
        composite = False
        for d in range(2, n-1):
            if n % d == 0:
                composite = True
                break
        if not composite:
            primes.append(n)
            
    count = len(primes)

    yes_marker = '✓'   # tick (U.S. "check") for residues
    no_marker  = '✗'   # cross for non-residues

    def colortag(n):
        if n % 4 == 1:
            return 'bgcolor=#e0ffff'
        else:
            return 'bgcolor=#ffe0e0'

    # computes Legendre symbol (a/q)
    # assumes a and q positive, q prime, (a, q) = 1
    def legendre(a, q):
        for n in range(1, q-1):
            if (n * n) % q == a % q:
                return 1;
        return -1;
        
    # print table header
    print '{| class="wikitable"'
    print '|-'
    print '| || colspan=' + str(count+1), 'align="center" |', "''p''"
    print '|-'
    print '| rowspan=' + str(count+1), "|  ''q''  || ",
    for p in primes:
        print '||', colortag(p), 'align="center" style="border-bottom:2px solid" |', "'''" + str(p) + "'''", 
    print

    # now the main table
    for q in primes:
        # first column
        print '|-'
        print '|', colortag(q), 'align="right" style="border-right:2px solid" |', "''' " + str(q) + " '''",

        # remaining columns
        for p in primes:
            print '||', colortag(1+(p-1)*(q-1)/2), '|',

            if p == q:
                print ' ',
            else:
                # symbol for (p/q)
                if legendre(p, q) == 1:
                    print yes_marker,
                else:
                    print no_marker,

                if legendre(q, p) == 1:
                    print yes_marker,
                else:
                    print no_marker,
        print
            
    print '|}'

Dmharvey 03:22, 21 April 2006 (UTC)Reply

Chart

edit

Something's wrong with the chart... the check and cross marks both look like boxes.

63.228.45.224 16:23, 28 May 2007 (UTC)Reply

I changed the table to use images instead of Unicode characters, as the Unicode characters don't show up on all computers (see previous comment). I put the new code on User:chridd/sandbox1 because of the Don't edit comments on talk pages policy. I changed

    yes_marker = '✓'   # tick (U.S. "check") for residues
    no_marker  = '✗'   # cross for non-residues

to

    yes_marker = '[[Image:Yes check.svg|10px]]'   # tick (U.S. "check") for residues
    no_marker  = '[[Image:Black x.svg|10px]]'   # cross for non-residues

~User:chridd [[tʃɹɪ|Special:Contributions]] 03:02, 20 September 2007 (UTC)Reply

history section

edit

I will add a brief history section soon. User:Virginia-American/Sandbox has changes for the article on quadratic residues. I don't anticipate anything so extensive here.

How about FAQ's

Why did CFG do so many proofs? Why has everyone else as well? Why "law" (it's not a thing like other laws, eg. commutative law of addition)? Virginia-American (talk) 01:05, 28 February 2008 (UTC)Reply

Colors

edit

I colorized one of the tables and put the border back around it. Anyone have ideas for inproving the aesthetics of this? thanks Virginia-American (talk) 02:52, 12 November 2008 (UTC)Reply

Landsberg–Schaar relation.

edit

Does anyone know anything about this? Since the LS relation reduces to a Guass sum, and QR can be easily proved using Gauss sums, is this the extent of it, or is there more? —Preceding unsigned comment added by Virginia-American (talkcontribs)

Comments

edit

This article is very nice and has a lot of good content, but the beginning reads more like an exposition than an encyclopedia article. There needs to be statement of the full theorem (or at least one version of the theorem) much earlier in the article, ideally in the introduction or near the beginning of the first section. The tables of numbers and such are helpful for motivation and understanding, but they ought to be put in a "Motivation" section that occurs after the statement of the law. Jim (talk) 20:25, 23 November 2008 (UTC)Reply

done Virginia-American (talk) 14:28, 24 November 2008 (UTC)Reply

Problem

edit

"A number of proofs of the theorem, especially those based on Gauss sums derive this formula.[20] or the splitting of primes in algebraic number fields,[21]"

Description in one word: Ungrammatical. — Preceding unsigned comment added by 189.63.168.238 (talk) 01:45, 16 April 2016 (UTC)Reply

edit

Hello fellow Wikipedians,

I have just modified 2 external links on Quadratic reciprocity. Please take a moment to review my edit. If you have any questions, or need the bot to ignore the links, or the page altogether, please visit this simple FaQ for additional information. I made the following changes:

When you have finished reviewing my changes, please set the checked parameter below to true or failed to let others know (documentation at {{Sourcecheck}}).

This message was posted before February 2018. After February 2018, "External links modified" talk page sections are no longer generated or monitored by InternetArchiveBot. No special action is required regarding these talk page notices, other than regular verification using the archive tool instructions below. Editors have permission to delete these "External links modified" talk page sections if they want to de-clutter talk pages, but see the RfC before doing mass systematic removals. This message is updated dynamically through the template {{source check}} (last update: 5 June 2024).

  • If you have discovered URLs which were erroneously considered dead by the bot, you can report them with this tool.
  • If you found an error with any archives or the URLs themselves, you can fix them with this tool.

Cheers.—InternetArchiveBot (Report bug) 12:10, 21 July 2016 (UTC)Reply