pub fn verify_range(start: u64, end: u64) -> CollatzRangeSummaryExpand description
Verifies the inclusive range [start, end] with bounded Collatz exploration.
The function skips 0, counts the number of positive inputs checked, counts
how many trajectories reach 1, counts how many overflow during checked odd
steps, tracks the input with the largest total stopping time, and tracks the
input with the largest peak trajectory value.
When start > end, the returned summary is empty and no values are checked.
ยงExamples
use use_collatz::verify_range;
let summary = verify_range(1, 10);
assert_eq!(summary.checked, 10);
assert_eq!(summary.reached_one, 10);
assert_eq!(summary.overflowed, 0);
assert_eq!(summary.max_total_stopping_time, Some((9, 19)));
assert_eq!(summary.max_trajectory_value, Some((7, 52)));