Largest Number You've Computed?
-
-
I tried. But there's nothing out there.
If there is one thing more dangerous than getting between a bear and her cubs it's getting between my wife and her chocolate.
-
I just computed the number of solutions (all solutions, not optimal ones) to the problem where this[^] was a solution (ie all coverings of the yellow cells with rectangles): 45784610596850816446599940930767916773480082964755799235445406076489339495199306 75894632264393946366064079016685237062250355511270045107847351110104043603327350 40030852263702858067598184403524385716937791795799506954654612463217212201690360 70982548681649300109601170578438603135655410339180977750692518018138012707693373 7505003365
-
-
Mine is 21000000 = 990065622929589825069792361630190325073362424178756733286639611453170948330948610305461455123464839148243150703458372388351065898941631492742256503157
290537231486937723287177549471366423897012584291448961471633841218863110379239805600774013627096055307053866717981233606159217927983273223643032286260
657430925691627858204283477200179449319005699514097510312526917394308961549314037842917671378079314795335742413161419492526463227046103105187267154344
632641553473282832884447626296639136101211942402510061343171652494945923275717722078109541163555632428562340139984401887212634039300347838271450001526
392320229012258910617229037066549822325526657074236467887628194407017819696756431326847303952947178641997730586792287821993064882303345065034596791221
523917555109275792203031674436344448176066521739250004626157456128525019107868885598538239591091028190475243782716932214211421239270034563950381235350
250311913322903570226372145672473702885218372967386543992665597857777244114711353422981871296063602342124838258072006674958033769065568092701436494004
477009798690062991574175490539021387229485951252745725843568693057429433187614880421258707050812109898106730960167331185511905319779689488277502333385
474039969174297188347576501021741278616607099138092026138181452968788842443522745722745810165356085948274800465038541381311864512793104409239664167647
305300960726816519669985583163924960253450803846226233415060476114953790220372111150760791409757457811339576926357615128826298343155141561825405071450
904969083569388243735037481368023790147322348964585936303091759379661486590792723567562062512969942701635647821602243367290434480760695218467382876202
927505824801529327493139658189985726667946143330659374336411381369262781055355514131860918961486402974778748508880160549702100345096024678742308819273
864162687251086992052277838707721304863610277948260856068796303905192240404646526613218905951232308872556447960474634162686268424027614311225363893314
258584609856383663203743877595505420097881377604232631662861910232459811384130060375377599339095227698245547651813789858771307842530857133022525317891
706868320941956052983552025902312629000323359271093979298894441465209382549702488057799005048947430386674809060826724550174964284440016934381319170930
839460354802896300645462227312779510715620237407643842490106080569307994163555798117162487871389746620126265220437895560389868814118422427995261241125
57747242833872593994076404With my bignum functions, I limited the usable size to 63356 bits (8192 BYTES or 2048 DWORDS), however the code can be expanded to hold the BIT count of a number in a DWORD. These functions include ADD, SUB, MUL, DIV, SQRT, AND, OR, XOR, Input long number (any base 2 to 64) and export any number (any base 2 to 64). OBTW they are fast - in MASM. Dave.
-
The largest number I tried to compute <edit>(in .NET 3.5)</edit> was
Int64.MaxValue + 1
. :) /raviMy new year resolution: 2048 x 1536 Home | Articles | My .NET bits | Freeware ravib(at)ravib(dot)com
Easy!
UInt64 i = (ulong)Int64.MaxValue + 1;
The quick red ProgramFOX jumps right over the
Lazy<Dog>
. -
Easy!
UInt64 i = (ulong)Int64.MaxValue + 1;
The quick red ProgramFOX jumps right over the
Lazy<Dog>
.True. If you want to lose half the range of possible values. :) /ravi
My new year resolution: 2048 x 1536 Home | Articles | My .NET bits | Freeware ravib(at)ravib(dot)com
-
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
Easy: this version[^] works in .NET 1.0! ;P
"These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer
-
Easy: this version[^] works in .NET 1.0! ;P
"These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer
:thumbsup: +5 /ravi
My new year resolution: 2048 x 1536 Home | Articles | My .NET bits | Freeware ravib(at)ravib(dot)com
-
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)
By the way, a code block can't be collapsed in messages, only in questions, answers and articles.
The quick red ProgramFOX jumps right over the
Lazy<Dog>
. -
By the way, a code block can't be collapsed in messages, only in questions, answers and articles.
The quick red ProgramFOX jumps right over the
Lazy<Dog>
.Stupid! If you can collapse them in one place, you should be able to collapse in all. Sometimes, I get teh feeling there are too many different codes for doing the same thing on this site... :laugh:
The universe is composed of electrons, neutrons, protons and......morons. (ThePhantomUpvoter)
-
Stupid! If you can collapse them in one place, you should be able to collapse in all. Sometimes, I get teh feeling there are too many different codes for doing the same thing on this site... :laugh:
The universe is composed of electrons, neutrons, protons and......morons. (ThePhantomUpvoter)
OriginalGriff wrote:
If you can collapse them in one place, you should be able to collapse in all.
There's just one place to tell that[^]
The quick red ProgramFOX jumps right over the
Lazy<Dog>
. -
OriginalGriff wrote:
If you can collapse them in one place, you should be able to collapse in all.
There's just one place to tell that[^]
The quick red ProgramFOX jumps right over the
Lazy<Dog>
.I don't like to go there, the hamsters bite!
The universe is composed of electrons, neutrons, protons and......morons. (ThePhantomUpvoter)
-
I don't like to go there, the hamsters bite!
The universe is composed of electrons, neutrons, protons and......morons. (ThePhantomUpvoter)
So, give them some haster food.
The quick red ProgramFOX jumps right over the
Lazy<Dog>
.