number.wiki
Nombre

42

42 — The Answer to Life, the Universe, and Everything

42 is a composite number, even, a calendar year.

In Douglas Adams' The Hitchhiker's Guide to the Galaxy, 42 is the answer computed by the supercomputer Deep Thought to the Ultimate Question of Life, the Universe, and Everything.

Mathematically, 42 is a sphenic number (the product of three distinct primes: 2 × 3 × 7), a pronic number, an abundant number, and the third primary pseudoperfect number. In 2019, mathematicians at the University of Bristol and MIT found a representation of 42 as a sum of three cubes:

\(42 = (-80\,538\,738\,812\,075\,974)^3 + 80\,435\,758\,145\,817\,515^3 + 12\,602\,123\,297\,335\,631^3\)

It was the last number under 100 for which such a representation was unknown.

Sources https://en.wikipedia.org/wiki/42_(number) · https://en.wikipedia.org/wiki/Sums_of_three_cubes
Abundant Number Catalan Number Curated Harshad / Niven Literature Pop Culture Pronic / Oblong Recamán's Sequence Sphenic Number Squarefree

Propriétés

Parité
Pair
Nombre de chiffres
2
Somme des chiffres
6
Racine numérique
6
Palindrome
Non
Inversé
24
Suite de Recamán
a(20) = 42
Nombre de diviseurs
8
σ(n) — somme des diviseurs
96

Primalité

Prime factorization: 2 × 3 × 7

Diviseurs et multiples

All divisors (8)
1 · 2 · 3 · 6 · 7 · 14 · 21 · 42
Aliquot sum (sum of proper divisors): 54
Factor pairs (a × b = 42)
1 × 42
2 × 21
3 × 14
6 × 7
First multiples
42 · 84 · 126 · 168 · 210 · 252 · 294 · 336 · 378 · 420

Représentations

En lettres
forty-two
Ordinal
42nd
Chiffre romain
XLII
Binaire
101010
Octal
52
Hexadécimal
0x2A
Base64
Kg==

Aussi vu comme

Goldbach decomposition

Goldbach's conjecture says every even integer greater than 2 is the sum of two primes. For 42, here are decompositions:

  • 5 + 37 = 42
  • 11 + 31 = 42
  • 13 + 29 = 42
  • 19 + 23 = 42
ASCII character

As an ASCII codepoint, 42 is *. Printable ASCII character *.

Hex color
#00002A
RGB(0, 0, 42)
IPv4 address

As an unsigned 32-bit integer, this is the IPv4 address 0.0.0.42.

Address
0.0.0.42
Class
reserved
IPv4-mapped IPv6
::ffff:0.0.0.42

Unspecified address (0.0.0.0/8) — "this network" placeholder.

Possible US bank routing number

This passes the ABA routing number checksum and matches the Federal Reserve numbering scheme.

Routing number
000000042
Federal Reserve
United States Government

Banks operate many routing numbers per state and division; an unmatched checksum-valid number can still be a real RTN at a smaller institution.