Regular {Zseq} | R Documentation |
Regular numbers
Description
Under OEIS A051037, a Regular number - also known as 5-smooth - is a positive integer that even divide powers of 60, or equivalently, whose prime divisors are only 2,3, and 5. First 6 Regular numbers are 1, 2, 3, 4, 5, 6.
Usage
Regular(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 Regular numbers
print(Regular(20))
[Package Zseq version 0.2.1 Index]