* Raul,

I have been working on this example

   (- ~:) &. q: 5040
1152

and have been able to unfold it to

   q:^:_1 (q: 5040) - (~: q: 5040)
1152

resp

   */ (q: 5040) - (~: q: 5040)
1152

and all the time hadn't recognized (- ~:) as the hook it is ...
Thanks for pointing that out to me (again..?).

* Don,

I've never used that 'F2' trick as
I'm mostly doing stuff within jconsole (sometimes in jqt) -
I'd be interested to learn where (in what kind of environment) is that hotkey to be used..?

* Roger,

I've successflully derived the more conventional product formula
*/(p-1)*p^e-1
and obviously need to do some more deriving :)
Thanks for the link to Andrew's post;
I also regard his expression as 'neat',
that's been the motivation to follow up on it ...

-M


At 2017-04-02 07:48, you wrote:

Are you asking about trains (hooks and forks)?

http://www.jsoftware.com/help/dictionary/dictf.htm

Thanks,

--
Raul


On Sun, Apr 2, 2017 at 3:39 AM, Martin Kreuzer <[email protected]> wrote:
> Hi all -

> In section 'Primes' of the Vocabul I found this line of code (at the very
> end, function no 5):

> (- ~:) &. q: y

> I do know that it is another way to calculate the totient of y, and
> I'm somehow familiar with the use of (~:) and (&.) and (q:), but
> have not yet found any documentation of this construct (- ~:)
> [btw, these seem to work too (+ ~:), (* ~:), (% ~:)]

> Where should I explore further..?

> -M

> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
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