Prime Examples Index   <<   >>

 
   ⍭ ⍳7
2 3 5 7 11 13 17

   ⍭ 1e7 12345 0
179424691 132247 2

   1 ⍭ 2 10⍴⍳20
0 0 1 1 0 1 0 1 0 0
0 1 0 1 0 0 0 1 0 1
   1 ⍭ 12345678901234567r1
0

   2 ⍭ 123456
2 3 643
6 1   1

   3 ⍭ 123456
2 2 2 2 2 2 3 643
   ×/ 3 ⍭ 123456
123456

   4 ⍭ 29 25
31 29
   ! 35r1
10333147966386144929666651337523200000000
   4 ⍭ ! 35r1
10333147966386144929666651337523200000061
   ¯4 ⍭ ! 35r1
10333147966386144929666651337523199999887

   10 ⍭ 0 10
0 0 1 1 0 1 0 1 0 0

   10 10 ⍴ 10⍭0 100+10*30r1
0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 1 0 0
0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 1

   ⍭ 3 1 4 2
7 3 11 5
   ⍭⍣¯1 ⍭ 3 1 4 2
3 1 4 2
   ¯1 ⍭ ⍭ 3 1 4 2
3 1 4 2

   ¯1 ⍭ 100
25
   ¯1 ⍭ ⍳10
0 0 0 1 2 2 3 3 4 4