Square | R Documentation |
Under OEIS A000290, a Square number is
A_n = n^2
for n≥ 0. First 6 Square numbers are 0, 1, 4, 9, 16, 25.
Square(n, gmp = TRUE)
n |
the number of first |
gmp |
a logical; |
a vector of length n
containing first entries from the sequence.
## generate first 20 Square numbers print(Square(20))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.