private static uint[] PrivateCollatzSequence(uint start) { var sequence = new List <uint> { start }; var next = start; while (next > 1) { next = LocalCode.PrivateCollatz(next); sequence.Add(next); } return(sequence.ToArray()); }
public int RunWithPrivateFunctions() => LocalCode.PrivateCollatzSequence(this.Value).Length;