mockers
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Oh my God! :Large Prime number

4 posters

mockers :: DS

Go down

Oh my God!  :Large Prime number Empty Oh my God! :Large Prime number

Post  Beagle Mon Feb 09, 2009 1:00 am

How will you compute large numbers like this :-
Constraint: Language to be used (C/C++) with normal usages(I mean every syntax should be basic.)

28433 × 2^7830457 + 1 (Actually this is a 2 million digit prime number discovered in 2004)

Beagle

Posts : 40
Join date : 2009-01-30

Back to top Go down

Oh my God!  :Large Prime number Empty Re: Oh my God! :Large Prime number

Post  ramthegreatcv Wed Feb 11, 2009 1:38 pm

i think its better to store it,just like u have written.
saves a lot of space Smile.
ramthegreatcv
ramthegreatcv

Posts : 55
Join date : 2009-01-30
Age : 36

Back to top Go down

Oh my God!  :Large Prime number Empty Re: Oh my God! :Large Prime number

Post  Beagle Mon Feb 16, 2009 1:19 pm

are you telling the same thing that we did for LR... frequency array.[:?]

Beagle

Posts : 40
Join date : 2009-01-30

Back to top Go down

Oh my God!  :Large Prime number Empty Re: Oh my God! :Large Prime number

Post  Admin Mon Feb 16, 2009 1:26 pm

yes, similar kind of thing.in terms of other prime numbers smaller than that.
--ramprasad

Admin
Admin

Posts : 47
Join date : 2009-01-29

https://mockers.forumotion.com

Back to top Go down

Oh my God!  :Large Prime number Empty @ramp

Post  obama Fri Feb 20, 2009 10:22 am

ramp plz elobrate on this whatever u r saying....

obama

Posts : 4
Join date : 2009-02-03

Back to top Go down

Oh my God!  :Large Prime number Empty Re: Oh my God! :Large Prime number

Post  Admin Tue Feb 24, 2009 7:49 pm

i am just saying that store it as an expression: 28433 × 2^7830457 + 1

Admin
Admin

Posts : 47
Join date : 2009-01-29

https://mockers.forumotion.com

Back to top Go down

Oh my God!  :Large Prime number Empty Re: Oh my God! :Large Prime number

Post  Sponsored content


Sponsored content


Back to top Go down

Back to top

- Similar topics

mockers :: DS

 
Permissions in this forum:
You cannot reply to topics in this forum