Previous Page Next Page Contents

numlib::tau -- number of divisors of an integer

Introduction

numlib::tau(n) returns the number of positive divisors of n.

Call(s)

numlib::tau(n)

Parameters

n - an integer

Returns

numlib::tau returns a nonnegative integer.

Related Functions

numlib::divisors, numlib::numprimedivisors, numlib::primedivisors

Details

Example 1

We compute the number of positive divisors of the number (one of the highly composite numbers studied by S. Ramanujan in 1915):

>> numlib::tau(6746328388800)
                                   10080

Background

Changes




Do you have questions or comments?


Copyright © SciFace Software GmbH & Co. KG 2000