From 97e68708b600cfb2231fd4652769b25bd2dca9f6 Mon Sep 17 00:00:00 2001 From: nprimo Date: Mon, 21 Nov 2022 15:23:48 +0000 Subject: [PATCH] docs(lucas_number): improve subject Add additional information on the Lucas Numbers --- subjects/lucas_number/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/subjects/lucas_number/README.md b/subjects/lucas_number/README.md index 4cf954cf..781b27ea 100644 --- a/subjects/lucas_number/README.md +++ b/subjects/lucas_number/README.md @@ -8,9 +8,9 @@ Complete the body of the **function** `lucas_number`. pub fn lucas_number(n: u32) -> u32 {} ``` -This function receives a number `n` and returns the `n`th number in the Lucas Numbers. +This function receives a number `n` and returns the `n`th number in the Lucas Numbers where the `n`th number is the sum of the previous two numbers in the series. -The Lucas Numbers start like this: 2, 1, 3, 4, 7, 11, 18, 29, 47, 76, 123, etc... +The Lucas Numbers start like this: 2, 1, 3, 4, 7, 11, 18, 29, 47, 76, 123, etc... ### Usage