A000290: Square numbers

Description Usage Arguments Value Examples

Description

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.

Usage

1
Square(n, gmp = TRUE)

Arguments

n

the number of first n entries from the sequence.

gmp

a logical; TRUE to use large number representation, FALSE otherwise.

Value

a vector of length n containing first entries from the sequence.

Examples

1
2
## generate first 20 Square numbers
print(Square(20))

kisungyou/Zseq documentation built on Feb. 4, 2018, 12:02 a.m.