Talk:Calkin-Wilf sequence: Difference between revisions

From Rosetta Code
Content added Content deleted
(Off by one error?)
 
(→‎Off by one error?: It gets worse.)
Line 2: Line 2:
The wikipedia entry starts the series with 1 not zero. The calculation of what term represents a rational also seems off by one.
The wikipedia entry starts the series with 1 not zero. The calculation of what term represents a rational also seems off by one.
--[[User:Paddy3118|Paddy3118]] ([[User talk:Paddy3118|talk]]) 22:29, 28 December 2020 (UTC)
--[[User:Paddy3118|Paddy3118]] ([[User talk: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. --[[User:Paddy3118|Paddy3118]] ([[User talk:Paddy3118|talk]]) 23:37, 28 December 2020 (UTC)

Revision as of 23:37, 28 December 2020

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)