Talk:Calkin-Wilf sequence

From Rosetta Code
Revision as of 23:37, 28 December 2020 by rosettacode>Paddy3118 (→‎Off by one error?: It gets worse.)

Off by one error?

The wikipedia entry starts the series with 1 not zero. The calculation of what term represents a rational also seems off by one. --Paddy3118 (talk) 22:29, 28 December 2020 (UTC)

Other calculations fail as 0 is never a term if calculating the i'th term from the run length encodings of i for example. Best to correct the task wording and adjust all examples I think. --Paddy3118 (talk) 23:37, 28 December 2020 (UTC)