artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d4b27dc
)
Add Tribonacci number sequence.
author
mglocker
<mglocker@openbsd.org>
Thu, 22 Aug 2024 04:29:40 +0000
(
04:29
+0000)
committer
mglocker
<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
patch
|
blob
|
history
diff --git
a/games/quiz/datfiles/seq-easy
b/games/quiz/datfiles/seq-easy
index
499a584
..
49eba62
100644
(file)
--- a/
games/quiz/datfiles/seq-easy
+++ b/
games/quiz/datfiles/seq-easy
@@
-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