powGB=: (**:)/@(|.@|....@#:@]{1x,[)
<: 2x powGB 11
8191
When you do this? do you get 8191 or 2047? I get 8191
Do I have a typo in powGB?
----- Original Message Follows -----
From: Aai <[email protected]>
To: Programming forum <[email protected]>
Subject: Re: [Jprogramming] Mersenne Prime initialization.
Date: Fri, 10 Apr 2009 11:55:31 +0200
>Sharp eye. Thanks Bill!
>
>Hallo bill lam, je schreef op 10-04-09 10:55:
>> On Thu, 09 Apr 2009, [email protected]
>> wrote:
>>> powGB =: (**:)/@(|.@|....@#:@]{1x,[)
>>>
>>
>> which is not the same as
>>
>> powGB=: (**:)/@(|....@#:@]{1x,[)
>>
>>
>
>--
>=@@i
>
>-----------------------------------------------------------
>----------- For information about J forums see
>http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm