Add Tribonacci number sequence.
authormglocker <mglocker@openbsd.org>
Thu, 22 Aug 2024 04:29:40 +0000 (04:29 +0000)
committermglocker <mglocker@openbsd.org>
Thu, 22 Aug 2024 04:29:40 +0000 (04:29 +0000)
Proposed by Anisja Mayer (math. student from Basel).

ok deraadt@

games/quiz/datfiles/seq-easy

index 499a584..49eba62 100644 (file)
@@ -1,5 +1,6 @@
 1,2,3,4,5,6:7{(integers)}:integers|[natural|counting] numbers
 1,2,3,5,8,13:21{(Fibonacci)}:Fibonacci{ seq{ence}| numbers}
+0,1,1,2,4,7,13:24{(Tribonacci)}:Tribonacci{ seq{ence}| numbers}
 1,2,4,8,16,32:64{(powers of 2)}:powers of 2|2[**|^]n
 1,2,6,24,120,720:5040{(factorials)}:factorials|n!
 1,3,5,7,9,11:13{(odd nos.)}:odd [integ|numb]ers