index
:
clp
main
A small Python compiler with optimizer written in Java
dcariotti
summary
refs
log
tree
commit
diff
log msg
author
committer
range
path:
root
/
progs
/
a443.py
blob: 5daabfe38c2593d0f692117fbcf81290d046b9a9 (
plain
)
1
2
def
tetrahedral_number
(
n
):
return
(
n
*
(
n
+
1
)
*
(
n
+
2
))
/
6