From f6d7c1669409b0cf40317d67ea8e75b3bfa7817c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Erick=20=CE=BB?= <96489518+erickcestari@users.noreply.github.com> Date: Sun, 4 Feb 2024 12:03:37 -0300 Subject: [PATCH] docs: Update Fibonacci sequence in README Correct the base cases for the Fibonacci sequence in the README.md file. The correct base cases are Fib(0) = 0 and Fib(1) = 1. This improves the accuracy of the documentation and ensures users have the correct information. --- guide/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/guide/README.md b/guide/README.md index 893518d7..9de7e51a 100644 --- a/guide/README.md +++ b/guide/README.md @@ -216,7 +216,7 @@ hard. On HVM, you just write the function as it is, and HVM will smoothly distribute the workload evenly across all available cores. ```javascript -(Fib 0) = 1 +(Fib 0) = 0 (Fib 1) = 1 (Fib n) = (+ (Fib (- n 1)) (Fib (- n 2))) ```