Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
3
Task/Truncatable-primes/J/truncatable-primes-1.j
Normal file
3
Task/Truncatable-primes/J/truncatable-primes-1.j
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
selPrime=: #~ 1&p:
|
||||
seed=: selPrime digits=: 1+i.9
|
||||
step=: selPrime@,@:(,&.":/&>)@{@;
|
||||
4
Task/Truncatable-primes/J/truncatable-primes-2.j
Normal file
4
Task/Truncatable-primes/J/truncatable-primes-2.j
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
>./ digits&step^:5 seed NB. left truncatable
|
||||
998443
|
||||
>./ step&digits^:5 seed NB. right truncatable
|
||||
739399
|
||||
Loading…
Add table
Add a link
Reference in a new issue