Bjorn wrote
> the correct answer [is] 43 for the first 15 primes

Brian wrote:
>     ([: +/ {.@(10&#.^:_1)@p:@:i.) 15
>  43
>     (+/@:(<.@:% <.&.(10&^.))@:p:@:i.) 15
>  43

I guess the 3rd time really is the charm!

Thanks Brian!

-Dan


Please excuse typos; composed on a handheld device.
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to