Runs the computation in the
Collatz conjecture.
Draws a graph of the successive values,
from the initial value given, n (n ≥ 3).
Computation structure — A PHP file
(this page: 'Pg-Collatz.php') calls
(via 'action=') an intermediate PHP file ('Collatz.php'),
which (through $_GET) sends the problem data as command line arguments
to a Python script. This last does the computing, and executes
graphing via 'gnuplot' (system call), for the final (temporary) webpage.
Keywords: PHP, command line arguments,
Python script, gnuplot.
|
• (Wikipedia) PHP (from Personal Home Page)
• Python (programming language). Python as glue • gnuplot
• (Wikipedia) Collatz conjecture • Collatz, Lothar (1910–1990).
• ICMASC'24,
International Conference on Mathematical Analysis and Applications in
Science and Engineering, Porto (Portugal),
Thu–Sat 20–22 June 2024.
• 1809-03-24: Liouville, Joseph
(†1882-09-08, 73 yrs.). |