A005101: Abundant numbers

Description Usage Arguments Value See Also Examples

Description

Under OEIS A005101, an abundant number is a number whose proper divisors sum up to the extent greater than the number itself. First 6 abundant numbers are 12, 18, 20, 24, 30, 36.

Usage

1
Abundant(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.

See Also

Deficient, Perfect

Examples

1
2
## generate first 30 Abundant numbers and print it
print(Abundant(30))

Zseq documentation built on May 2, 2019, 2:38 a.m.