POV-Ray : Newsgroups : povray.off-topic : Heavy metal Server Time
1 Nov 2024 13:20:21 EDT (-0400)
  Heavy metal (Message 1 to 5 of 5)  
From: Invisible
Subject: Heavy metal
Date: 23 Aug 2011 09:42:59
Message: <4e53ae63$1@news.povray.org>
http://en.wikipedia.org/wiki/Multiply-with-carry

"The period of a lag-r MWC generator is the order of b in the 
multiplicative group of numbers modulo ab^r − 1."

So, if A = 4,294,967,118 and B = 2^32 and R = 4 then... what's the 
period of the generator??

AB^4 - 1 is 1461501576760641606276638336235602896801190903807.

That's a big number. Now, what is the order of 2^32 module this huge number?



http://en.wikipedia.org/wiki/Cyclic_group

"[In a cyclic group of order n] The order of the residue class of m is n 
/ gcd(n,m)."

So... that means I need to replace N with the huge number above, and M 
with 2^32?

If I do that, the answer is... N? Is that right?



So... the period of the generator really is 1.46 * 10^48?

My head hurts...


Post a reply to this message

From: Mike the Elder
Subject: Re: Heavy metal
Date: 23 Aug 2011 10:25:01
Message: <web.4e53b7d4dedb4e8585627c70@news.povray.org>
Invisible <voi### [at] devnull> wrote:
> http://en.wikipedia.org/wiki/Multiply-with-carry
>
> "The period of a lag-r MWC generator is the order of b in the
> multiplicative group of numbers modulo ab^r − 1."
>
> So, if A = 4,294,967,118 and B = 2^32 and R = 4 then... what's the
> period of the generator??
>
> AB^4 - 1 is 1461501576760641606276638336235602896801190903807.
>
....

Hey, now that IS a coincidence...
One quindecillion, four hundred sixty-one quattuordecillion, five hundred one
tredecillion, seven hundred sixty duodecillion, six hundred forty-one
undecillion, six hundred six decillion, two hundred seventy-six nonillion, six
hundred thirty-eight octillion, three hundred thirty-six sextillion, two hundred
thirty-five quintillion, six hundred two quadrillion, eight hundred ninety-six
trillion, eight hundred one billion, one hundred ninety million, nine hundred
three thousand, eight hundred seven is my lucky number!

Perhaps this explains why I have good luck rather infrequently.  ;-)


Best Regards,
Mike C.


Post a reply to this message

From: Invisible
Subject: Re: Heavy metal
Date: 23 Aug 2011 10:29:33
Message: <4e53b94d$1@news.povray.org>
On 23/08/2011 03:23 PM, Mike the Elder wrote:

> Hey, now that IS a coincidence...
> One quindecillion, four hundred sixty-one quattuordecillion, five hundred one
> tredecillion, seven hundred sixty duodecillion, six hundred forty-one
> undecillion, six hundred six decillion, two hundred seventy-six nonillion, six
> hundred thirty-eight octillion, three hundred thirty-six sextillion, two hundred
> thirty-five quintillion, six hundred two quadrillion, eight hundred ninety-six
> trillion, eight hundred one billion, one hundred ninety million, nine hundred
> three thousand, eight hundred seven is my lucky number!
>
> Perhaps this explains why I have good luck rather infrequently.  ;-)

What I want explaining is "who the HELL calls it one quindecillion?!"


Post a reply to this message

From: Mike the Elder
Subject: Re: Heavy metal
Date: 23 Aug 2011 10:40:01
Message: <web.4e53ba7bdedb4e8585627c70@news.povray.org>
Invisible <voi### [at] devnull> wrote:
> On 23/08/2011 03:23 PM, Mike the Elder wrote:
>
> What I want explaining is "who the HELL calls it one quindecillion?!"

You prefer quinquadecillion?

http://en.wikipedia.org/wiki/Names_of_large_numbers


Post a reply to this message

From: Jim Holsenback
Subject: Re: Heavy metal
Date: 23 Aug 2011 14:37:54
Message: <4e53f382$1@news.povray.org>
On 08/23/2011 11:23 AM, Mike the Elder wrote:
> Invisible<voi### [at] devnull>  wrote:
>> http://en.wikipedia.org/wiki/Multiply-with-carry
>>
>> "The period of a lag-r MWC generator is the order of b in the
>> multiplicative group of numbers modulo ab^r − 1."
>>
>> So, if A = 4,294,967,118 and B = 2^32 and R = 4 then... what's the
>> period of the generator??
>>
>> AB^4 - 1 is 1461501576760641606276638336235602896801190903807.
>>
> ....
>
> Hey, now that IS a coincidence...
> One quindecillion, four hundred sixty-one quattuordecillion, five hundred one
> tredecillion, seven hundred sixty duodecillion, six hundred forty-one
> undecillion, six hundred six decillion, two hundred seventy-six nonillion, six
> hundred thirty-eight octillion, three hundred thirty-six sextillion, two hundred
> thirty-five quintillion, six hundred two quadrillion, eight hundred ninety-six
> trillion, eight hundred one billion, one hundred ninety million, nine hundred
> three thousand, eight hundred seven is my lucky number!
>
> Perhaps this explains why I have good luck rather infrequently.  ;-)
>
>
> Best Regards,
> Mike C.
>
Wow ... what a coincidence, my lucky number as well! I think I'll cancel 
my plans for getting a new one. Who can argue with a coincidence like 
that ;-)


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.