From 0f3bbc3cbb52abe06d40f9db9a914a8a7c0337fc Mon Sep 17 00:00:00 2001 From: Jörg Sommrey <28217714+jo-37@users.noreply.github.com> Date: Mon, 23 Jan 2023 18:46:19 +0100 Subject: Solution to task 2 --- challenge-201/jo-37/perl/ch-2.sh | 4 ++++ 1 file changed, 4 insertions(+) create mode 100755 challenge-201/jo-37/perl/ch-2.sh diff --git a/challenge-201/jo-37/perl/ch-2.sh b/challenge-201/jo-37/perl/ch-2.sh new file mode 100755 index 0000000000..ba66afd8c3 --- /dev/null +++ b/challenge-201/jo-37/perl/ch-2.sh @@ -0,0 +1,4 @@ +#!/bin/sh + +# Find the number of partitions +perl -MMath::Prime::Util=:all -E 'say partitions shift' $1 -- cgit