mirror of https://github.com/01-edu/public.git
docs(lucas_number): improve subject
Add additional information on the Lucas Numbers
This commit is contained in:
parent
6edb6f640e
commit
97e68708b6
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue