A005101: Abundant numbers

AbundantR Documentation

Abundant numbers

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

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

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


Zseq documentation built on Sept. 7, 2022, 5:06 p.m.