©
Collatz conjecture, Web sweeping
Runs the conjecture computation.
2024.Nov.25 07:54:22
Range: N (≤ 1.e+8) Range to be tested.
D, M, A Divisor, multiplier, addend.
Max steps   Maximum steps allowed.
Show values Show graph coordinates.

Sweeps the computation in the Collatz conjecture.

Draws a graph of the number of steps and adjusts a gamma distribution to it.


Computation structure — A PHP file (this page: 'P-sweep.php') calls (via 'action=') an intermediate PHP file ('Sweep.php'), which (through $_POST) 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, Fortran subprogram, gnuplot.

References: Plate: CollatzSweep

• (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.

• 1913-03-26: Erdős, Paul (Erdős Pál) (†1996-09-20, 83 yrs.).

 
 
Valid HTML 5! IST http://web.ist.utl.pt/~mcasquilho/compute/ICMASC_24/sweep/P-sweep.php
Created: 2023-03-26 — Last modified: 2024-06-18