on 01ac191 help sign in
15 lines 410 B history raw
1---
2sort: 2
3comments: true
4---
6# Math
81. Write a function that produces a list of the first `n`
9 triangular numbers. The `n`th triangular number is the sum
10 of the first `n` positive integers.
121. Using the program from the previous exercise, write a
13 function that produces the first `n` tetrahedral numbers.
14 The `n`th tetrahedral number is the sum of the first `n`
15 triangular numbers.