*** Welcome to piglix ***

Forty

← 39 40 41 →
Cardinal forty
Ordinal 40th
(fortieth)
Numeral system quadragesimal
Factorization 23× 5
Divisors 1, 2, 4, 5, 8, 10, 20, 40
Roman numeral XL
Latin prefix quadrage-
Binary 1010002
Ternary 11113
Quaternary 2204
Quinary 1305
Senary 1046
Octal 508
Duodecimal 3412
Hexadecimal 2816
Vigesimal 2020
Base 36 1436

40 (forty) is the natural number following 39 and preceding 41.

Despite being related to the word "four" (4), the modern spelling of 40 is "forty". The archaic form "fourty" is now considered a misspelling. The modern spelling possibly reflects a pronunciation change due to the horse–hoarse merger.

Forty is a composite number, 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, i.e. 30 + 31 + 32 + 33) and a Harshad number in base 10.

The number 40 is used in Jewish, Christian, Islamic, and other Middle Eastern traditions to represent a large, approximate number, similar to "umpteen".


...
Wikipedia

...