I think you left out this part:

   find=: (#~ ] = |.&.":@>)@p:

Thanks,

-- 
Raul


On Thu, Oct 15, 2015 at 1:02 PM, Kip Murray <[email protected]> wrote:
> Please read below. Forwarding is the only way I can get my awkward mailer
> to send you a message with copied material! --Kip Murray
>
> ---------- Forwarded message ---------
> From: km <[email protected]>
> Date: Thu, Oct 15, 2015 at 11:44 AM
> Subject: Finding prime palindromes
> To: Kip Murray <[email protected]>
>
>
> A prime palindrome is a prime which is unchanged when its decimal digits
> are reversed.  Write verb  find  below.
>
>   p: i.40  NB. first 41 primes
> 2 3 5 7 11 13 17 19 23 29 31 37 41 43 47 53 59 61 67 71 73 79 83 89 97 101
> 103 107 109 113 127 131 137 139 149 151 157 163 167 173
>
>    find i.40  NB. palindromes among the first 41 primes
> 2 3 5 7 11 101 131 151
>
> --Kip Murray
>
> Sent from my iPad
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to