This articlerelies excessively onreferences toprimary sources. Please improve this article by addingsecondary or tertiary sources. Find sources: "Leonardo number" – news ·newspapers ·books ·scholar ·JSTOR(July 2017) (Learn how and when to remove this message) |
TheLeonardo numbers are a sequence of numbers given by the recurrence:
Edsger W. Dijkstra[1] used them as an integral part of hissmoothsortalgorithm,[2] and also analyzed them in some detail.[3][4]
ALeonardo prime is aLeonardo number that is alsoprime.
The term "Leonardo number" was coined by Dikjstra[5][nb 1], and the derivation is not given explicitly. Given the close relationship to the famous sequence credited toLeonardo Fibonacci, he may have considered the subject trivial. There is no known nor likely connection toLeonardo da Vinci, the most common subject of thatmononym.
The first few Leonardo numbers are
The first few Leonardo primes are
The Leonardo numbers form a cycle in any modulo. An easy way to see it is:
The cycles for are:
| Modulo | Cycle | Length |
| 2 | 1 | 1 |
| 3 | 1,1,0,2,0,0,1,2 | 8 |
| 4 | 1,1,3 | 3 |
| 5 | 1,1,3,0,4,0,0,1,2,4,2,2,0,3,4,3,3,2,1,4 | 20 |
| 6 | 1,1,3,5,3,3,1,5 | 8 |
| 7 | 1,1,3,5,2,1,4,6,4,4,2,0,3,4,1,6 | 16 |
| 8 | 1,1,3,5,1,7 | 6 |
The cycle always end on the pair, as it is the only pair which can precede the pair.
The Leonardo numbers are related to theFibonacci numbers by the relation.
From this relation it is straightforward to derive aclosed-form expression for the Leonardo numbers, analogous to Binet's formula for the Fibonacci numbers:
where thegolden ratio and are the roots of thequadratic polynomial.
The Leonardo polynomials is defined by[6]
Equivalently, in homogeneous form, the Leonardo polynomials can be writtenas
where and
Substituting in the above polynomials gives the Leonardo numbers and setting gives the-Leonardo numbers.[7]
1. P. Catarino, A. Borges (2019): On Leonardo numbers. Acta Mathematica Universitatis Comenianae, 89(1), 75-86. Retrieved fromhttp://www.iam.fmph.uniba.sk/amuc/ojs/index.php/amuc/article/view/1005/799
2. K. Prasad, R. Mohanty, M. Kumari, H. Mahato (2024): Some new families of generalized k-Leonardo and Gaussian Leonardo Numbers,Communications in Combinatorics and Optimization, 9 (3), 539-553.https://comb-opt.azaruniv.ac.ir/article_14544_6844cc9ba641d31cafe5358297bc0096.pdf
3. M. Kumari, K. Prasad, H. Mahato, P. Catarino (2024): On the generalized Leonardo quaternions and associated spinors,Kragujevac Journal of Mathematics 50 (3), 425-438.https://imi.pmf.kg.ac.rs/kjm/pub/kjom503/kjm_50_3-6.pdf
4. K. Prasad, H. Mahato, M. Kumari, R. Mohanty: On the generalized Leonardo Pisano octonions,National Academy Science Letters 47, 579–585.https://link.springer.com/article/10.1007/s40009-023-01291-2
5. Y. Soykan (2023): Special cases of generalized Leonardo numbers: Modified p-Leonardo, p-Leonardo-Lucas and p-Leonardo Numbers,Earthline Journal of Mathematical Sciences.https://www.preprints.org/frontend/manuscript/a700d41e884b69f92bc8eb6cf7ff1979/download_pub
6. Y. Soykan (2021): Generalized Leonardo numbers,Journal of Progressive Research in Mathematics.https://core.ac.uk/download/pdf/483697189.pdf
7. E. Tan, HH Leung (2023): ON LEONARDO p-NUMBERS,Journal of Combinatorial Number Theory.https://math.colgate.edu/~integers/x7/x7.pdf