aboutsummaryrefslogtreecommitdiff
path: root/challenge-155/abigail/php/ch-1.php
diff options
context:
space:
mode:
authorAbigail <abigail@abigail.freedom.nl>2022-03-07 14:19:16 +0100
committerAbigail <abigail@abigail.freedom.nl>2022-03-07 14:19:16 +0100
commita77cfdd7d975d6e2c7a6ea108d6c32bebf3f0af5 (patch)
tree197252b18e8cc794e9752f747a58005b1e4287c6 /challenge-155/abigail/php/ch-1.php
parentfc6a9620006ac3fed689e5c23a4cc2f5fe5e473e (diff)
downloadperlweeklychallenge-club-a77cfdd7d975d6e2c7a6ea108d6c32bebf3f0af5.tar.gz
perlweeklychallenge-club-a77cfdd7d975d6e2c7a6ea108d6c32bebf3f0af5.tar.bz2
perlweeklychallenge-club-a77cfdd7d975d6e2c7a6ea108d6c32bebf3f0af5.zip
Weel 155: Boring solutions for a boring exercise.
I could of course have copied the "is_prime" fuctions from previous exercises, but that's not very interesting. And since we are asked to print the first 8 numbers of an OEIS sequence, we just do that.
Diffstat (limited to 'challenge-155/abigail/php/ch-1.php')
-rw-r--r--challenge-155/abigail/php/ch-1.php11
1 files changed, 11 insertions, 0 deletions
diff --git a/challenge-155/abigail/php/ch-1.php b/challenge-155/abigail/php/ch-1.php
new file mode 100644
index 0000000000..b44a2e4143
--- /dev/null
+++ b/challenge-155/abigail/php/ch-1.php
@@ -0,0 +1,11 @@
+<?php
+ //
+ // See https://theweeklychallenge.org/blog/perl-weekly-challenge-155
+ //
+
+ //
+ // Run as: php ch-1.php
+ //
+
+ echo "3 5 7 13 17 19 23 37\n"
+?>