Under OEIS A000217, a Triangular number counts objects arranged in an equilateral triangle. First 6 Triangular numbers are 0, 1, 3, 6, 10, 15.
Triangular(n, gmp = TRUE)
the number of first
a vector of length
n containing first entries from the sequence.
## generate first 20 Triangular numbers print(Triangular(20))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.