Perfect | R Documentation |
Under OEIS A000396, a Perfect number is a number whose proper divisors sum up to the extent equal to the number itself. First 6 abundant numbers are 6, 28, 496, 8128, 33550336, 8589869056.
Perfect(n, gmp = TRUE)
n |
the number of first |
gmp |
a logical; |
a vector of length n
containing first entries from the sequence.
Deficient
, Abundant
## Not run: ## generate first 7 Perfect numbers print(Perfect(10)) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.