Deficient {Zseq} | R Documentation |
Deficient numbers
Description
Under OEIS A005100, a deficient number is a number whose proper divisors sum up to the extent smaller than the number itself. First 6 deficient numbers are 1, 2, 3, 4, 5, 7
Usage
Deficient(n, gmp = TRUE)
Arguments
n |
the number of first |
gmp |
a logical; |
Value
a vector of length n
containing first entries from the sequence.
See Also
Examples
## generate first 30 Deficient numbers
print(Deficient(30))
[Package Zseq version 0.2.1 Index]