There is another time record in mathschallenge forum,

>Python version
>Only 1 line
>
>About .5 sec
>
>
>prime = (28433 * (2 ** 7830457) + 1) % (10**10)
>
>print prime

J may be consider special code for pattern (+ve int)^(+ve int).



----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to