Results 1 to 6 of 6

Thread: Strange Roots

  1. #1

    Thread Starter
    Hyperactive Member storm5510's Avatar
    Join Date
    Jul 2009
    Location
    Indiana, U.S.A.
    Posts
    329

    Question Strange Roots

    Can anyone tell me what these expressions mean?

    Code:
    4Sqr(x) and 4Sqr(x) log n)
    I think "log n" is natural logarithm. The "4" in front of "Sqr", I have no idea.


  2. #2
    PowerPoster
    Join Date
    Apr 2007
    Location
    The Netherlands
    Posts
    5,070

    Re: Strange Roots

    Can you supply us with a little more information?

    I was tempted to say that it was probably the base-4 root of x:
    4√x = x1/4

    But, the sqrt is called a square root because it is the base-2 root:
    2√x = √x = x1/2

    Similarly, you also have a cube root:
    3√x = x1/3

    And a ... dunno what to call it... quartic root maybe? No idea:
    4√x = x1/4 = (x1/2)1/2 = √(√x)


    So, writing 4sqrt(x) when you mean the 'quartic root' does not make sense..


    Maybe it's just 4 times the square root?


    ---
    Also, the log n might be the usual base-10 log, or it might be the natural log. However, the natural log is usually written as ln instead of log. But I have seen many people, especially physicists for some reason, use log when they actually mean ln.

    The natural log is the base-e log, where e is the natural number 2,71828183.

  3. #3
    Fanatic Member
    Join Date
    Jun 2008
    Posts
    1,023

    Re: Strange Roots

    sqr(2) = 1.41421356
    4sqr(2) = 5.65685425

    so
    sqr(2) = 1.41421356
    4sqr(2) = 4*1.41421356
    4sqr(2) = 5.65685425


    (log n)
    http://en.wikipedia.org/wiki/Binary_logarithm

  4. #4

  5. #5

    Thread Starter
    Hyperactive Member storm5510's Avatar
    Join Date
    Jul 2009
    Location
    Indiana, U.S.A.
    Posts
    329

    Re: Strange Roots


  6. #6
    Only Slightly Obsessive jemidiah's Avatar
    Join Date
    Apr 2002
    Posts
    2,431

    Re: Strange Roots

    The article goes on to say

    But of course when actually finding primes it is the unlisted constants1 that make all of the difference! We will have to wait for efficient implementations of this algorithm (and hopefully clever restatements of the painful for loop) to see how it compares to the others for integers of a few thousand digits. Until then, at least we have learned that there is a polynomial-time algorithm for all integers that both is deterministic and relies on no unproved conjectures!

    Note: D. J. Bernstein's exposition of the Agrawal-Kayal-Saxena theorem (mentioned above) contains improvements by many diferent researchers which reduce the constants involved in the time analysis by at least a factor of 2,000,000. This is perhaps the best source for the present state of the algorithm.
    Personally, I wouldn't bother trying to implement this beast myself for fear of mistakes and gross inefficiencies.
    The time you enjoy wasting is not wasted time.
    Bertrand Russell

    <- Remember to rate posts you find helpful.

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