Square {Zseq} | R Documentation |
Square numbers
Description
Under OEIS A000290, a Square number is
A_n = n^2
for n\ge 0
. First 6 Square numbers are 0, 1, 4, 9, 16, 25.
Usage
Square(n, gmp = TRUE)
Arguments
n |
the number of first |
gmp |
a logical; |
Value
a vector of length n
containing first entries from the sequence.
Examples
## generate first 20 Square numbers
print(Square(20))
[Package Zseq version 0.2.1 Index]