<< change_base Arithmetic even >>

Scilab Scholar module for schools >> Arithmetic > divisors

divisors

returns the sequence of divisors of an integer

Calling sequence

s = divisors(n)

Arguments

n

positive integer

s

sequence of numbers

Description

divisors(n) returns, in increasing order, the sequence of divisors of n with n a positive integer.

Example

divisors(26364)
divisors(89)

See Also

<< change_base Arithmetic even >>