Loading ...
Sorry, an error occurred while loading the content.

18529Re: [PrimeNumbers] number length

Expand Messages
  • Phil Carmody
    Jan 4, 2007
      --- Jacques Tramu <jacques.tramu@...> wrote:
      > >Can someone calculate the length of N= (2^1660693)*(2^1660693+21)+1?
      > >I esimated it as [(2*1660693)*((log 2)/(log 10))] as someone suggested
      > >and arrived at L(N)= 999,999. How inaccurate is it?
      > GMP gives : 998838

      Maybe it does, maybe it doesn't, but it's the wrong tool for the job.

      Calculating the value of a simple expression you're only going to find the size
      of is lazy thinking.

      The size of a^b is b times the size of a.
      The size of a*b is the sum of the sizes of a and b.


      () ASCII ribbon campaign () Hopeless ribbon campaign
      /\ against HTML mail /\ against gratuitous bloodshed

      [stolen with permission from Daniel B. Cristofani]

      Do You Yahoo!?
      Tired of spam? Yahoo! Mail has the best spam protection around
    • Show all 5 messages in this topic