powGB =: (**:)/@(|.@|....@#:@]{1x,[)
<: 2 ^ 11
2047
<: 2 ^ powGB"0 ] 11
8191
Hum........ they don't seem to be producing the same
result.
----- Original Message Follows -----
From: Aai <[email protected]>
To: Programming forum <[email protected]>
Subject: Re: [Jprogramming] Mersenne Prime initialization.
Date: Thu, 09 Apr 2009 20:18:24 +0200
>Sorry, another try:
>
>http://www.jsoftware.com/jwiki/Essays/Repeated_Squaring
>
>
>--
>=@@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