// return Ok(x) where x is the number of steps required to reach 1
return Ok(x) where x is the number of steps required to reach 1
return Ok ( x ) where x is the number of steps required to reach 1
pub fn collatz(n: u64) -> Result<u64, &'static str> {
    if n < 1 {
        Err("Only positive numbers are allowed")
    } else {
        Ok(collatz_positive(n))
    }
}
pub fn collatz ( n : u64 ) -> Result < u64 , & ' static str > { if n < 1 { Err ( " " ) } else { Ok ( collatz_positive ( n ) ) } }
return Ok(x) where x is the number of steps required to reach 1
return Ok ( x ) where x is the number of steps required to reach 1
n
u64