From 10f345b1d42afeed7d06cba5b013f683eca1e56a Mon Sep 17 00:00:00 2001 From: Mohammad S Anwar Date: Wed, 13 Jul 2022 17:38:21 +0100 Subject: - Added guest contributions by Conor Hoekstra. --- challenge-173/conor-hoekstra/apl/ch-1.apl | 4 ++++ challenge-173/conor-hoekstra/apl/ch-2.apl | 17 +++++++++++++++++ challenge-173/conor-hoekstra/bqn/ch-2.bqn | 3 +++ challenge-173/conor-hoekstra/ch-1.apl | 4 ---- challenge-173/conor-hoekstra/ch-2.apl | 17 ----------------- challenge-173/conor-hoekstra/ch-2.bqn | 3 --- 6 files changed, 24 insertions(+), 24 deletions(-) create mode 100644 challenge-173/conor-hoekstra/apl/ch-1.apl create mode 100644 challenge-173/conor-hoekstra/apl/ch-2.apl create mode 100644 challenge-173/conor-hoekstra/bqn/ch-2.bqn delete mode 100644 challenge-173/conor-hoekstra/ch-1.apl delete mode 100644 challenge-173/conor-hoekstra/ch-2.apl delete mode 100644 challenge-173/conor-hoekstra/ch-2.bqn diff --git a/challenge-173/conor-hoekstra/apl/ch-1.apl b/challenge-173/conor-hoekstra/apl/ch-1.apl new file mode 100644 index 0000000000..6119b85d5f --- /dev/null +++ b/challenge-173/conor-hoekstra/apl/ch-1.apl @@ -0,0 +1,4 @@ +estheticNumber ← {1=∧/|2-/⍎¨⍕⍵} + +⍝ Tests +estheticNumber ¨ 5456 120 diff --git a/challenge-173/conor-hoekstra/apl/ch-2.apl b/challenge-173/conor-hoekstra/apl/ch-2.apl new file mode 100644 index 0000000000..169faeff24 --- /dev/null +++ b/challenge-173/conor-hoekstra/apl/ch-2.apl @@ -0,0 +1,17 @@ +⍝ Sylvester's Sequence + (⊢,1+×/)⍣9⊢2 +2 3 7 43 1807 3263443 1.065005695E13 1.134237131E26 1.286493868E52 1.655066473E104 + +⍝ Formatted + ⍪⍕¨(⊢,1+×/)⍣9⊢2 + 2 + 3 + 7 + 43 + 1807 + 3263443 + 1.065005695E13 + 1.134237131E26 + 1.286493868E52 + 1.655066473E104 + \ No newline at end of file diff --git a/challenge-173/conor-hoekstra/bqn/ch-2.bqn b/challenge-173/conor-hoekstra/bqn/ch-2.bqn new file mode 100644 index 0000000000..4bc3625bd4 --- /dev/null +++ b/challenge-173/conor-hoekstra/bqn/ch-2.bqn @@ -0,0 +1,3 @@ +# Sylvester's Sequence + ∾⟜(1+×´)⍟9 ⥊2 +⟨ 2 3 7 43 1807 3263443 10650056950807 1.1342371305542186e26 1.2864938683278675e52 1.6550664732452e1... diff --git a/challenge-173/conor-hoekstra/ch-1.apl b/challenge-173/conor-hoekstra/ch-1.apl deleted file mode 100644 index 6119b85d5f..0000000000 --- a/challenge-173/conor-hoekstra/ch-1.apl +++ /dev/null @@ -1,4 +0,0 @@ -estheticNumber ← {1=∧/|2-/⍎¨⍕⍵} - -⍝ Tests -estheticNumber ¨ 5456 120 diff --git a/challenge-173/conor-hoekstra/ch-2.apl b/challenge-173/conor-hoekstra/ch-2.apl deleted file mode 100644 index 169faeff24..0000000000 --- a/challenge-173/conor-hoekstra/ch-2.apl +++ /dev/null @@ -1,17 +0,0 @@ -⍝ Sylvester's Sequence - (⊢,1+×/)⍣9⊢2 -2 3 7 43 1807 3263443 1.065005695E13 1.134237131E26 1.286493868E52 1.655066473E104 - -⍝ Formatted - ⍪⍕¨(⊢,1+×/)⍣9⊢2 - 2 - 3 - 7 - 43 - 1807 - 3263443 - 1.065005695E13 - 1.134237131E26 - 1.286493868E52 - 1.655066473E104 - \ No newline at end of file diff --git a/challenge-173/conor-hoekstra/ch-2.bqn b/challenge-173/conor-hoekstra/ch-2.bqn deleted file mode 100644 index 4bc3625bd4..0000000000 --- a/challenge-173/conor-hoekstra/ch-2.bqn +++ /dev/null @@ -1,3 +0,0 @@ -# Sylvester's Sequence - ∾⟜(1+×´)⍟9 ⥊2 -⟨ 2 3 7 43 1807 3263443 10650056950807 1.1342371305542186e26 1.2864938683278675e52 1.6550664732452e1... -- cgit