Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. Largest Number You've Computed?

Largest Number You've Computed?

Scheduled Pinned Locked Moved The Lounge
htmlcomquestion
53 Posts 17 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Bassam Abdul Baki

    Had to Google LNS and came across the social networking site.

    Web - BM - RSS - Math - LinkedIn

    L Offline
    L Offline
    Lost User
    wrote on last edited by
    #13

    The other one. Logarithmic number system.

    B 1 Reply Last reply
    0
    • OriginalGriffO OriginalGriff

      Oh! That's easy!

              BigInteger bi = new BigInteger(Int64.MaxValue);
              bi++;
              Console.WriteLine(bi);
      

      9223372036854775808

      The universe is composed of electrons, neutrons, protons and......morons. (ThePhantomUpvoter)

      R Offline
      R Offline
      Ravi Bhavnani
      wrote on last edited by
      #14

      Sorry, I forgot to add "in .NET 3.5".  :) /ravi

      My new year resolution: 2048 x 1536 Home | Articles | My .NET bits | Freeware ravib(at)ravib(dot)com

      Richard DeemingR 1 Reply Last reply
      0
      • T Thomas Daniels

        Mine is 21000000 = 990065622929589825069792361630190325073362424178756733286639611453170948330948610305461455123464839148243150703458372388351065898941631492742256503157
        290537231486937723287177549471366423897012584291448961471633841218863110379239805600774013627096055307053866717981233606159217927983273223643032286260
        657430925691627858204283477200179449319005699514097510312526917394308961549314037842917671378079314795335742413161419492526463227046103105187267154344
        632641553473282832884447626296639136101211942402510061343171652494945923275717722078109541163555632428562340139984401887212634039300347838271450001526
        392320229012258910617229037066549822325526657074236467887628194407017819696756431326847303952947178641997730586792287821993064882303345065034596791221
        523917555109275792203031674436344448176066521739250004626157456128525019107868885598538239591091028190475243782716932214211421239270034563950381235350
        250311913322903570226372145672473702885218372967386543992665597857777244114711353422981871296063602342124838258072006674958033769065568092701436494004
        477009798690062991574175490539021387229485951252745725843568693057429433187614880421258707050812109898106730960167331185511905319779689488277502333385
        474039969174297188347576501021741278616607099138092026138181452968788842443522745722745810165356085948274800465038541381311864512793104409239664167647
        305300960726816519669985583163924960253450803846226233415060476114953790220372111150760791409757457811339576926357615128826298343155141561825405071450
        904969083569388243735037481368023790147322348964585936303091759379661486590792723567562062512969942701635647821602243367290434480760695218467382876202
        927505824801529327493139658189985726667946143330659374336411381369262781055355514131860918961486402974778748508880160549702100345096024678742308819273
        864162687251086992052277838707721304863610277948260856068796303905192240404646526613218905951232308872556447960474634162686268424027614311225363893314
        258584609856383663203743877595505420097881377604232631662861910232459811384130060375377599339095227698245547651813789858771307842530857133022525317891
        706868320941956052983552025902312629000323359271093979298894441465209382549702488057799005048947430386674809060826724550174964284440016934381319170930
        839460354802896300645462227312779510715620237407643842490106080569307994163555798117162487871389746620126265220437895560389868814118422427995261241125
        57747242833872593994076404

        M Offline
        M Offline
        Matthew Faithfull
        wrote on last edited by
        #15

        I guess that's what they call 'thinking outside the box'. :)

        "The secret of happiness is freedom, and the secret of freedom, courage." Thucydides (B.C. 460-400)

        Mike HankeyM 1 Reply Last reply
        0
        • T Thomas Daniels

          Mine is 21000000 = 990065622929589825069792361630190325073362424178756733286639611453170948330948610305461455123464839148243150703458372388351065898941631492742256503157
          290537231486937723287177549471366423897012584291448961471633841218863110379239805600774013627096055307053866717981233606159217927983273223643032286260
          657430925691627858204283477200179449319005699514097510312526917394308961549314037842917671378079314795335742413161419492526463227046103105187267154344
          632641553473282832884447626296639136101211942402510061343171652494945923275717722078109541163555632428562340139984401887212634039300347838271450001526
          392320229012258910617229037066549822325526657074236467887628194407017819696756431326847303952947178641997730586792287821993064882303345065034596791221
          523917555109275792203031674436344448176066521739250004626157456128525019107868885598538239591091028190475243782716932214211421239270034563950381235350
          250311913322903570226372145672473702885218372967386543992665597857777244114711353422981871296063602342124838258072006674958033769065568092701436494004
          477009798690062991574175490539021387229485951252745725843568693057429433187614880421258707050812109898106730960167331185511905319779689488277502333385
          474039969174297188347576501021741278616607099138092026138181452968788842443522745722745810165356085948274800465038541381311864512793104409239664167647
          305300960726816519669985583163924960253450803846226233415060476114953790220372111150760791409757457811339576926357615128826298343155141561825405071450
          904969083569388243735037481368023790147322348964585936303091759379661486590792723567562062512969942701635647821602243367290434480760695218467382876202
          927505824801529327493139658189985726667946143330659374336411381369262781055355514131860918961486402974778748508880160549702100345096024678742308819273
          864162687251086992052277838707721304863610277948260856068796303905192240404646526613218905951232308872556447960474634162686268424027614311225363893314
          258584609856383663203743877595505420097881377604232631662861910232459811384130060375377599339095227698245547651813789858771307842530857133022525317891
          706868320941956052983552025902312629000323359271093979298894441465209382549702488057799005048947430386674809060826724550174964284440016934381319170930
          839460354802896300645462227312779510715620237407643842490106080569307994163555798117162487871389746620126265220437895560389868814118422427995261241125
          57747242833872593994076404

          Mike HankeyM Offline
          Mike HankeyM Offline
          Mike Hankey
          wrote on last edited by
          #16

          DD has the distinction for millionth post and now you have for the longest most useless. :) Congrats!

          VS2010/Atmel Studio 6.1 ToDo Manager Extension
          It's not the destination, it's the journey.

          OriginalGriffO M 2 Replies Last reply
          0
          • B Bassam Abdul Baki

            Mine is: (165(43-1)/5+floor((43+3)/4)) % (1043) = 2,000,000,000,000,000,000,000,000,000,017,592,186,044,416

            Web - BM - RSS - Math - LinkedIn

            R Offline
            R Offline
            R Giskard Reventlov
            wrote on last edited by
            #17

            42

            "If you think it's expensive to hire a professional to do the job, wait until you hire an amateur." Red Adair. nils illegitimus carborundum me, me, me

            1 Reply Last reply
            0
            • M Matthew Faithfull

              I guess that's what they call 'thinking outside the box'. :)

              "The secret of happiness is freedom, and the secret of freedom, courage." Thucydides (B.C. 460-400)

              Mike HankeyM Offline
              Mike HankeyM Offline
              Mike Hankey
              wrote on last edited by
              #18

              He didn't use a big enough box the numbers are spilling out over the top. :)

              VS2010/Atmel Studio 6.1 ToDo Manager Extension
              It's not the destination, it's the journey.

              1 Reply Last reply
              0
              • T Thomas Daniels

                Mine is 21000000 = 990065622929589825069792361630190325073362424178756733286639611453170948330948610305461455123464839148243150703458372388351065898941631492742256503157
                290537231486937723287177549471366423897012584291448961471633841218863110379239805600774013627096055307053866717981233606159217927983273223643032286260
                657430925691627858204283477200179449319005699514097510312526917394308961549314037842917671378079314795335742413161419492526463227046103105187267154344
                632641553473282832884447626296639136101211942402510061343171652494945923275717722078109541163555632428562340139984401887212634039300347838271450001526
                392320229012258910617229037066549822325526657074236467887628194407017819696756431326847303952947178641997730586792287821993064882303345065034596791221
                523917555109275792203031674436344448176066521739250004626157456128525019107868885598538239591091028190475243782716932214211421239270034563950381235350
                250311913322903570226372145672473702885218372967386543992665597857777244114711353422981871296063602342124838258072006674958033769065568092701436494004
                477009798690062991574175490539021387229485951252745725843568693057429433187614880421258707050812109898106730960167331185511905319779689488277502333385
                474039969174297188347576501021741278616607099138092026138181452968788842443522745722745810165356085948274800465038541381311864512793104409239664167647
                305300960726816519669985583163924960253450803846226233415060476114953790220372111150760791409757457811339576926357615128826298343155141561825405071450
                904969083569388243735037481368023790147322348964585936303091759379661486590792723567562062512969942701635647821602243367290434480760695218467382876202
                927505824801529327493139658189985726667946143330659374336411381369262781055355514131860918961486402974778748508880160549702100345096024678742308819273
                864162687251086992052277838707721304863610277948260856068796303905192240404646526613218905951232308872556447960474634162686268424027614311225363893314
                258584609856383663203743877595505420097881377604232631662861910232459811384130060375377599339095227698245547651813789858771307842530857133022525317891
                706868320941956052983552025902312629000323359271093979298894441465209382549702488057799005048947430386674809060826724550174964284440016934381319170930
                839460354802896300645462227312779510715620237407643842490106080569307994163555798117162487871389746620126265220437895560389868814118422427995261241125
                57747242833872593994076404

                OriginalGriffO Offline
                OriginalGriffO Offline
                OriginalGriff
                wrote on last edited by
                #19

                I really wish you'd put that in a code block so it could be collapsed... ;)

                The universe is composed of electrons, neutrons, protons and......morons. (ThePhantomUpvoter)

                "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
                "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

                T 2 Replies Last reply
                0
                • Mike HankeyM Mike Hankey

                  DD has the distinction for millionth post and now you have for the longest most useless. :) Congrats!

                  VS2010/Atmel Studio 6.1 ToDo Manager Extension
                  It's not the destination, it's the journey.

                  OriginalGriffO Offline
                  OriginalGriffO Offline
                  OriginalGriff
                  wrote on last edited by
                  #20

                  Mike Hankey wrote:

                  DD has the distinction for millionth post

                  Has he? I hadn't noticed! :laugh:

                  Mike Hankey wrote:

                  now you have for the longest most useless.

                  No chance - have you looked at QA recently? :sigh:

                  The universe is composed of electrons, neutrons, protons and......morons. (ThePhantomUpvoter)

                  "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
                  "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

                  Mike HankeyM 1 Reply Last reply
                  0
                  • OriginalGriffO OriginalGriff

                    Mike Hankey wrote:

                    DD has the distinction for millionth post

                    Has he? I hadn't noticed! :laugh:

                    Mike Hankey wrote:

                    now you have for the longest most useless.

                    No chance - have you looked at QA recently? :sigh:

                    The universe is composed of electrons, neutrons, protons and......morons. (ThePhantomUpvoter)

                    Mike HankeyM Offline
                    Mike HankeyM Offline
                    Mike Hankey
                    wrote on last edited by
                    #21

                    OriginalGriff wrote:

                    Has he? I hadn't noticed!

                    Personally I think he rounded up...you know how accountants are? :)

                    OriginalGriff wrote:

                    No chance - have you looked at QA recently?

                    No last time I wandered in there it took me days to find my way out. :)

                    VS2010/Atmel Studio 6.1 ToDo Manager Extension
                    It's not the destination, it's the journey.

                    1 Reply Last reply
                    0
                    • B Bassam Abdul Baki

                      Mine is: (165(43-1)/5+floor((43+3)/4)) % (1043) = 2,000,000,000,000,000,000,000,000,000,017,592,186,044,416

                      Web - BM - RSS - Math - LinkedIn

                      R Offline
                      R Offline
                      rspercy65
                      wrote on last edited by
                      #22

                      $27.94 Fifth of JD

                      rspercy65

                      1 Reply Last reply
                      0
                      • T Thomas Daniels

                        Mine is 21000000 = 990065622929589825069792361630190325073362424178756733286639611453170948330948610305461455123464839148243150703458372388351065898941631492742256503157
                        290537231486937723287177549471366423897012584291448961471633841218863110379239805600774013627096055307053866717981233606159217927983273223643032286260
                        657430925691627858204283477200179449319005699514097510312526917394308961549314037842917671378079314795335742413161419492526463227046103105187267154344
                        632641553473282832884447626296639136101211942402510061343171652494945923275717722078109541163555632428562340139984401887212634039300347838271450001526
                        392320229012258910617229037066549822325526657074236467887628194407017819696756431326847303952947178641997730586792287821993064882303345065034596791221
                        523917555109275792203031674436344448176066521739250004626157456128525019107868885598538239591091028190475243782716932214211421239270034563950381235350
                        250311913322903570226372145672473702885218372967386543992665597857777244114711353422981871296063602342124838258072006674958033769065568092701436494004
                        477009798690062991574175490539021387229485951252745725843568693057429433187614880421258707050812109898106730960167331185511905319779689488277502333385
                        474039969174297188347576501021741278616607099138092026138181452968788842443522745722745810165356085948274800465038541381311864512793104409239664167647
                        305300960726816519669985583163924960253450803846226233415060476114953790220372111150760791409757457811339576926357615128826298343155141561825405071450
                        904969083569388243735037481368023790147322348964585936303091759379661486590792723567562062512969942701635647821602243367290434480760695218467382876202
                        927505824801529327493139658189985726667946143330659374336411381369262781055355514131860918961486402974778748508880160549702100345096024678742308819273
                        864162687251086992052277838707721304863610277948260856068796303905192240404646526613218905951232308872556447960474634162686268424027614311225363893314
                        258584609856383663203743877595505420097881377604232631662861910232459811384130060375377599339095227698245547651813789858771307842530857133022525317891
                        706868320941956052983552025902312629000323359271093979298894441465209382549702488057799005048947430386674809060826724550174964284440016934381319170930
                        839460354802896300645462227312779510715620237407643842490106080569307994163555798117162487871389746620126265220437895560389868814118422427995261241125
                        57747242833872593994076404

                        R Offline
                        R Offline
                        rspercy65
                        wrote on last edited by
                        #23

                        Is this the number of eggs eaten in China on a daily basis?

                        rspercy65

                        1 Reply Last reply
                        0
                        • OriginalGriffO OriginalGriff

                          I really wish you'd put that in a code block so it could be collapsed... ;)

                          The universe is composed of electrons, neutrons, protons and......morons. (ThePhantomUpvoter)

                          T Offline
                          T Offline
                          Thomas Daniels
                          wrote on last edited by
                          #24

                          No! In that case, my br-tags would be visible! I added <small> and </small>

                          The quick red ProgramFOX jumps right over the Lazy<Dog>.

                          1 Reply Last reply
                          0
                          • Mike HankeyM Mike Hankey

                            DD has the distinction for millionth post and now you have for the longest most useless. :) Congrats!

                            VS2010/Atmel Studio 6.1 ToDo Manager Extension
                            It's not the destination, it's the journey.

                            M Offline
                            M Offline
                            Matthew Dennis
                            wrote on last edited by
                            #25

                            unless 21000000 - 1 is prime.

                            L 1 Reply Last reply
                            0
                            • B Bassam Abdul Baki

                              Mine is: (165(43-1)/5+floor((43+3)/4)) % (1043) = 2,000,000,000,000,000,000,000,000,000,017,592,186,044,416

                              Web - BM - RSS - Math - LinkedIn

                              M Offline
                              M Offline
                              Matthew Dennis
                              wrote on last edited by
                              #26

                              1000! see Calculate the Factorial of an Integer in C#[^]

                              B 1 Reply Last reply
                              0
                              • T Thomas Daniels

                                Mine is 21000000 = 990065622929589825069792361630190325073362424178756733286639611453170948330948610305461455123464839148243150703458372388351065898941631492742256503157
                                290537231486937723287177549471366423897012584291448961471633841218863110379239805600774013627096055307053866717981233606159217927983273223643032286260
                                657430925691627858204283477200179449319005699514097510312526917394308961549314037842917671378079314795335742413161419492526463227046103105187267154344
                                632641553473282832884447626296639136101211942402510061343171652494945923275717722078109541163555632428562340139984401887212634039300347838271450001526
                                392320229012258910617229037066549822325526657074236467887628194407017819696756431326847303952947178641997730586792287821993064882303345065034596791221
                                523917555109275792203031674436344448176066521739250004626157456128525019107868885598538239591091028190475243782716932214211421239270034563950381235350
                                250311913322903570226372145672473702885218372967386543992665597857777244114711353422981871296063602342124838258072006674958033769065568092701436494004
                                477009798690062991574175490539021387229485951252745725843568693057429433187614880421258707050812109898106730960167331185511905319779689488277502333385
                                474039969174297188347576501021741278616607099138092026138181452968788842443522745722745810165356085948274800465038541381311864512793104409239664167647
                                305300960726816519669985583163924960253450803846226233415060476114953790220372111150760791409757457811339576926357615128826298343155141561825405071450
                                904969083569388243735037481368023790147322348964585936303091759379661486590792723567562062512969942701635647821602243367290434480760695218467382876202
                                927505824801529327493139658189985726667946143330659374336411381369262781055355514131860918961486402974778748508880160549702100345096024678742308819273
                                864162687251086992052277838707721304863610277948260856068796303905192240404646526613218905951232308872556447960474634162686268424027614311225363893314
                                258584609856383663203743877595505420097881377604232631662861910232459811384130060375377599339095227698245547651813789858771307842530857133022525317891
                                706868320941956052983552025902312629000323359271093979298894441465209382549702488057799005048947430386674809060826724550174964284440016934381319170930
                                839460354802896300645462227312779510715620237407643842490106080569307994163555798117162487871389746620126265220437895560389868814118422427995261241125
                                57747242833872593994076404

                                S Offline
                                S Offline
                                Septimus Hedgehog
                                wrote on last edited by
                                #27

                                ProgramFOX wrote:

                                26

                                Wrong! You've got a typo. Fix it! :)

                                If there is one thing more dangerous than getting between a bear and her cubs it's getting between my wife and her chocolate.

                                T 1 Reply Last reply
                                0
                                • OriginalGriffO OriginalGriff

                                  2,000,000,000,000,000,000,000,000,000,017,592,186,044,417 Yours, plus one.

                                  The universe is composed of electrons, neutrons, protons and......morons. (ThePhantomUpvoter)

                                  S Offline
                                  S Offline
                                  Septimus Hedgehog
                                  wrote on last edited by
                                  #28

                                  I'll take yours and raise you + 2. I've got 3p on the table. Are you in, or is you gonna a-chickin' out you yeller-bellied warmint?

                                  If there is one thing more dangerous than getting between a bear and her cubs it's getting between my wife and her chocolate.

                                  OriginalGriffO 1 Reply Last reply
                                  0
                                  • S Septimus Hedgehog

                                    ProgramFOX wrote:

                                    26

                                    Wrong! You've got a typo. Fix it! :)

                                    If there is one thing more dangerous than getting between a bear and her cubs it's getting between my wife and her chocolate.

                                    T Offline
                                    T Offline
                                    Thomas Daniels
                                    wrote on last edited by
                                    #29

                                    A TYPO when I copied this from a file??? :doh:

                                    The quick red ProgramFOX jumps right over the Lazy<Dog>.

                                    S 1 Reply Last reply
                                    0
                                    • S Septimus Hedgehog

                                      I'll take yours and raise you + 2. I've got 3p on the table. Are you in, or is you gonna a-chickin' out you yeller-bellied warmint?

                                      If there is one thing more dangerous than getting between a bear and her cubs it's getting between my wife and her chocolate.

                                      OriginalGriffO Offline
                                      OriginalGriffO Offline
                                      OriginalGriff
                                      wrote on last edited by
                                      #30

                                      Cluck, cluck, cluck! I know about infinite numbers and the phase space of integers, so this thread in theory could never end. ;)

                                      The universe is composed of electrons, neutrons, protons and......morons. (ThePhantomUpvoter)

                                      "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
                                      "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

                                      B 1 Reply Last reply
                                      0
                                      • T Thomas Daniels

                                        A TYPO when I copied this from a file??? :doh:

                                        The quick red ProgramFOX jumps right over the Lazy<Dog>.

                                        S Offline
                                        S Offline
                                        Septimus Hedgehog
                                        wrote on last edited by
                                        #31

                                        A rare talent, indeed! :-D

                                        If there is one thing more dangerous than getting between a bear and her cubs it's getting between my wife and her chocolate.

                                        1 Reply Last reply
                                        0
                                        • M Matthew Dennis

                                          unless 21000000 - 1 is prime.

                                          L Offline
                                          L Offline
                                          Lost User
                                          wrote on last edited by
                                          #32

                                          It isn't. Mersenne primes always have prime exponents.

                                          1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups