Largest Number You've Computed?
-
-
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)
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
-
Mine is 21000000 = 990065622929589825069792361630190325073362424178756733286639611453170948330948610305461455123464839148243150703458372388351065898941631492742256503157
290537231486937723287177549471366423897012584291448961471633841218863110379239805600774013627096055307053866717981233606159217927983273223643032286260
657430925691627858204283477200179449319005699514097510312526917394308961549314037842917671378079314795335742413161419492526463227046103105187267154344
632641553473282832884447626296639136101211942402510061343171652494945923275717722078109541163555632428562340139984401887212634039300347838271450001526
392320229012258910617229037066549822325526657074236467887628194407017819696756431326847303952947178641997730586792287821993064882303345065034596791221
523917555109275792203031674436344448176066521739250004626157456128525019107868885598538239591091028190475243782716932214211421239270034563950381235350
250311913322903570226372145672473702885218372967386543992665597857777244114711353422981871296063602342124838258072006674958033769065568092701436494004
477009798690062991574175490539021387229485951252745725843568693057429433187614880421258707050812109898106730960167331185511905319779689488277502333385
474039969174297188347576501021741278616607099138092026138181452968788842443522745722745810165356085948274800465038541381311864512793104409239664167647
305300960726816519669985583163924960253450803846226233415060476114953790220372111150760791409757457811339576926357615128826298343155141561825405071450
904969083569388243735037481368023790147322348964585936303091759379661486590792723567562062512969942701635647821602243367290434480760695218467382876202
927505824801529327493139658189985726667946143330659374336411381369262781055355514131860918961486402974778748508880160549702100345096024678742308819273
864162687251086992052277838707721304863610277948260856068796303905192240404646526613218905951232308872556447960474634162686268424027614311225363893314
258584609856383663203743877595505420097881377604232631662861910232459811384130060375377599339095227698245547651813789858771307842530857133022525317891
706868320941956052983552025902312629000323359271093979298894441465209382549702488057799005048947430386674809060826724550174964284440016934381319170930
839460354802896300645462227312779510715620237407643842490106080569307994163555798117162487871389746620126265220437895560389868814118422427995261241125
57747242833872593994076404I 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)
-
Mine is 21000000 = 990065622929589825069792361630190325073362424178756733286639611453170948330948610305461455123464839148243150703458372388351065898941631492742256503157
290537231486937723287177549471366423897012584291448961471633841218863110379239805600774013627096055307053866717981233606159217927983273223643032286260
657430925691627858204283477200179449319005699514097510312526917394308961549314037842917671378079314795335742413161419492526463227046103105187267154344
632641553473282832884447626296639136101211942402510061343171652494945923275717722078109541163555632428562340139984401887212634039300347838271450001526
392320229012258910617229037066549822325526657074236467887628194407017819696756431326847303952947178641997730586792287821993064882303345065034596791221
523917555109275792203031674436344448176066521739250004626157456128525019107868885598538239591091028190475243782716932214211421239270034563950381235350
250311913322903570226372145672473702885218372967386543992665597857777244114711353422981871296063602342124838258072006674958033769065568092701436494004
477009798690062991574175490539021387229485951252745725843568693057429433187614880421258707050812109898106730960167331185511905319779689488277502333385
474039969174297188347576501021741278616607099138092026138181452968788842443522745722745810165356085948274800465038541381311864512793104409239664167647
305300960726816519669985583163924960253450803846226233415060476114953790220372111150760791409757457811339576926357615128826298343155141561825405071450
904969083569388243735037481368023790147322348964585936303091759379661486590792723567562062512969942701635647821602243367290434480760695218467382876202
927505824801529327493139658189985726667946143330659374336411381369262781055355514131860918961486402974778748508880160549702100345096024678742308819273
864162687251086992052277838707721304863610277948260856068796303905192240404646526613218905951232308872556447960474634162686268424027614311225363893314
258584609856383663203743877595505420097881377604232631662861910232459811384130060375377599339095227698245547651813789858771307842530857133022525317891
706868320941956052983552025902312629000323359271093979298894441465209382549702488057799005048947430386674809060826724550174964284440016934381319170930
839460354802896300645462227312779510715620237407643842490106080569307994163555798117162487871389746620126265220437895560389868814118422427995261241125
57747242833872593994076404DD 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. -
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
-
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)
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. -
Mine is 21000000 = 990065622929589825069792361630190325073362424178756733286639611453170948330948610305461455123464839148243150703458372388351065898941631492742256503157
290537231486937723287177549471366423897012584291448961471633841218863110379239805600774013627096055307053866717981233606159217927983273223643032286260
657430925691627858204283477200179449319005699514097510312526917394308961549314037842917671378079314795335742413161419492526463227046103105187267154344
632641553473282832884447626296639136101211942402510061343171652494945923275717722078109541163555632428562340139984401887212634039300347838271450001526
392320229012258910617229037066549822325526657074236467887628194407017819696756431326847303952947178641997730586792287821993064882303345065034596791221
523917555109275792203031674436344448176066521739250004626157456128525019107868885598538239591091028190475243782716932214211421239270034563950381235350
250311913322903570226372145672473702885218372967386543992665597857777244114711353422981871296063602342124838258072006674958033769065568092701436494004
477009798690062991574175490539021387229485951252745725843568693057429433187614880421258707050812109898106730960167331185511905319779689488277502333385
474039969174297188347576501021741278616607099138092026138181452968788842443522745722745810165356085948274800465038541381311864512793104409239664167647
305300960726816519669985583163924960253450803846226233415060476114953790220372111150760791409757457811339576926357615128826298343155141561825405071450
904969083569388243735037481368023790147322348964585936303091759379661486590792723567562062512969942701635647821602243367290434480760695218467382876202
927505824801529327493139658189985726667946143330659374336411381369262781055355514131860918961486402974778748508880160549702100345096024678742308819273
864162687251086992052277838707721304863610277948260856068796303905192240404646526613218905951232308872556447960474634162686268424027614311225363893314
258584609856383663203743877595505420097881377604232631662861910232459811384130060375377599339095227698245547651813789858771307842530857133022525317891
706868320941956052983552025902312629000323359271093979298894441465209382549702488057799005048947430386674809060826724550174964284440016934381319170930
839460354802896300645462227312779510715620237407643842490106080569307994163555798117162487871389746620126265220437895560389868814118422427995261241125
57747242833872593994076404I 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)
-
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.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 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)
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. -
-
Mine is 21000000 = 990065622929589825069792361630190325073362424178756733286639611453170948330948610305461455123464839148243150703458372388351065898941631492742256503157
290537231486937723287177549471366423897012584291448961471633841218863110379239805600774013627096055307053866717981233606159217927983273223643032286260
657430925691627858204283477200179449319005699514097510312526917394308961549314037842917671378079314795335742413161419492526463227046103105187267154344
632641553473282832884447626296639136101211942402510061343171652494945923275717722078109541163555632428562340139984401887212634039300347838271450001526
392320229012258910617229037066549822325526657074236467887628194407017819696756431326847303952947178641997730586792287821993064882303345065034596791221
523917555109275792203031674436344448176066521739250004626157456128525019107868885598538239591091028190475243782716932214211421239270034563950381235350
250311913322903570226372145672473702885218372967386543992665597857777244114711353422981871296063602342124838258072006674958033769065568092701436494004
477009798690062991574175490539021387229485951252745725843568693057429433187614880421258707050812109898106730960167331185511905319779689488277502333385
474039969174297188347576501021741278616607099138092026138181452968788842443522745722745810165356085948274800465038541381311864512793104409239664167647
305300960726816519669985583163924960253450803846226233415060476114953790220372111150760791409757457811339576926357615128826298343155141561825405071450
904969083569388243735037481368023790147322348964585936303091759379661486590792723567562062512969942701635647821602243367290434480760695218467382876202
927505824801529327493139658189985726667946143330659374336411381369262781055355514131860918961486402974778748508880160549702100345096024678742308819273
864162687251086992052277838707721304863610277948260856068796303905192240404646526613218905951232308872556447960474634162686268424027614311225363893314
258584609856383663203743877595505420097881377604232631662861910232459811384130060375377599339095227698245547651813789858771307842530857133022525317891
706868320941956052983552025902312629000323359271093979298894441465209382549702488057799005048947430386674809060826724550174964284440016934381319170930
839460354802896300645462227312779510715620237407643842490106080569307994163555798117162487871389746620126265220437895560389868814118422427995261241125
57747242833872593994076404 -
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)
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>
. -
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.unless 21000000 - 1 is prime.
-
1000! see Calculate the Factorial of an Integer in C#[^]
-
Mine is 21000000 = 990065622929589825069792361630190325073362424178756733286639611453170948330948610305461455123464839148243150703458372388351065898941631492742256503157
290537231486937723287177549471366423897012584291448961471633841218863110379239805600774013627096055307053866717981233606159217927983273223643032286260
657430925691627858204283477200179449319005699514097510312526917394308961549314037842917671378079314795335742413161419492526463227046103105187267154344
632641553473282832884447626296639136101211942402510061343171652494945923275717722078109541163555632428562340139984401887212634039300347838271450001526
392320229012258910617229037066549822325526657074236467887628194407017819696756431326847303952947178641997730586792287821993064882303345065034596791221
523917555109275792203031674436344448176066521739250004626157456128525019107868885598538239591091028190475243782716932214211421239270034563950381235350
250311913322903570226372145672473702885218372967386543992665597857777244114711353422981871296063602342124838258072006674958033769065568092701436494004
477009798690062991574175490539021387229485951252745725843568693057429433187614880421258707050812109898106730960167331185511905319779689488277502333385
474039969174297188347576501021741278616607099138092026138181452968788842443522745722745810165356085948274800465038541381311864512793104409239664167647
305300960726816519669985583163924960253450803846226233415060476114953790220372111150760791409757457811339576926357615128826298343155141561825405071450
904969083569388243735037481368023790147322348964585936303091759379661486590792723567562062512969942701635647821602243367290434480760695218467382876202
927505824801529327493139658189985726667946143330659374336411381369262781055355514131860918961486402974778748508880160549702100345096024678742308819273
864162687251086992052277838707721304863610277948260856068796303905192240404646526613218905951232308872556447960474634162686268424027614311225363893314
258584609856383663203743877595505420097881377604232631662861910232459811384130060375377599339095227698245547651813789858771307842530857133022525317891
706868320941956052983552025902312629000323359271093979298894441465209382549702488057799005048947430386674809060826724550174964284440016934381319170930
839460354802896300645462227312779510715620237407643842490106080569307994163555798117162487871389746620126265220437895560389868814118422427995261241125
57747242833872593994076404ProgramFOX 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.
-
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)
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.
-
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.
A TYPO when I copied this from a file??? :doh:
The quick red ProgramFOX jumps right over the
Lazy<Dog>
. -
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.
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)
-
A TYPO when I copied this from a file??? :doh:
The quick red ProgramFOX jumps right over the
Lazy<Dog>
.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.
-
unless 21000000 - 1 is prime.