Wolfram Language & System 11.0 (2016)|Legacy Documentation

This is documentation for an earlier version of the Wolfram Language.View current documentation (Version 11.2)

PerfectNumberQ

PerfectNumberQ[n]
returns True if n is a perfect integer, and False otherwise.

DetailsDetails

  • A positive integer n is perfect if and only if the sum of all its divisors equals 2n.
  • Numbers 0 and 1 are not perfect.
Introduced in 2016
(10.4)