blob: fa2d20850a0442167e71d567cf05866651cb2041 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
Solution by Ruben Westerberg
ch-1.pl and ch-1.p6
===
Run the program to calculate the forward difference of a number sequence entered on the command line.
If no order is specified an order of 1 is used and if no sequence is specified a example sequence is used
ch-1.pl usage:
./ch-1.pl -o 2 -- 1 3 6 9
ch-2.p6 usage:
./ch-1.p6 --order=2 1 3 6 9
ch-2.pl and ch-2.p6
===
Run the program to display the prime decomposition of the number intered on the command line.
If no number is specifed the demo value of 228 is decomposed.
|