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

Re: [PrimeNumbers] number length

Expand Messages
  • Phil Carmody
    ... 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
    Message 1 of 5 , Jan 4, 2007
    • 0 Attachment
      --- 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.

      Phil

      () 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
      http://mail.yahoo.com
    • pbtoau
      I get about 6.5*10^999836. This would indicate a length of 999837 digits. - David ... +1? ... suggested ... job. ... find the size
      Message 2 of 5 , Jan 6, 2007
      • 0 Attachment
        I get about 6.5*10^999836. This would indicate a length of 999837
        digits.

        - David
        --- In primenumbers@yahoogroups.com, Phil Carmody <thefatphil@...>
        wrote:
        >
        > --- 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.
        >
        > Phil
        >
        > () 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
        > http://mail.yahoo.com
        >
      Your message has been successfully submitted and would be delivered to recipients shortly.