Skip to content

Add LeonardoNumber algorithm #2649

@Flonator3000

Description

@Flonator3000

Is your feature request related to a problem? Please describe.
Adds LeonardoNumber algorithm.

Describe the solution you'd like
The Leonardo numbers are related to the Fibonacci numbers by below relation:
L(n)=2F(n+1)-1
Given a number n, find n-th Leonardo number.

Describe alternatives you've considered

Additional context

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions