In Mathematics
Forty is an octagonal number, and as the sum of the first four pentagonal numbers, it is a pentagonal pyramidal number. Adding up some subsets of its divisors (e.g., 1, 4, 5, 10 and 20) gives 40, hence 40 is a semiperfect number.
Given 40, the Mertens function returns 0. 40 is the smallest number n with exactly 9 solutions to the equation φ(x) = n.
Forty is the number of n-queens problem solutions for n = 7.
Since 402 + 1 = 1601 is prime, 40 is a Størmer number.
40 is a repdigit in base 3 (1111) and a Harshad number in base 10.
Read more about this topic: 40 (number)
Famous quotes containing the word mathematics:
“I must study politics and war that my sons may have liberty to study mathematics and philosophy.”
—John Adams (17351826)