Metamath Proof Explorer


Table of Contents - 5.4.3. Decimal representation of numbers

The decimal representation of numbers/integers is based on the decimal digits 0 through 9 (df-0 through df-9), which are explicitly defined in the following. Note that the numbers 0 and 1 are constants defined as primitives of the complex number axiom system (see df-0 and df-1).

With the decimal constructor df-dec, it is possible to easily express larger integers in base 10. See deccl and the theorems that follow it. See also 4001prm (4001 is prime) and the proof of bpos. Note that the decimal constructor builds on the definitions in this section.

Note: The number 10 will be represented by its digits using the decimal constructor only, i.e., by . Therefore, only decimal digits are needed (as symbols) for the decimal representation of a number.

Integers can also be exhibited as sums of powers of 10 (e.g., the number 103 can be expressed as ) or as some other expression built from operations on the numbers 0 through 9. For example, the prime number 823541 can be expressed as . Decimals can be expressed as ratios of integers, as in cos2bnd.

Most abstract math rarely requires numbers larger than 4. Even in Wiles' proof of Fermat's Last Theorem, the largest number used appears to be 12.

  1. c2
  2. c3
  3. c4
  4. c5
  5. c6
  6. c7
  7. c8
  8. c9
  9. df-2
  10. df-3
  11. df-4
  12. df-5
  13. df-6
  14. df-7
  15. df-8
  16. df-9
  17. 1eltp012
  18. 0ne1
  19. 1m1e0
  20. 2nn
  21. 2re
  22. 2cn
  23. 2cnALT
  24. 2ex
  25. 2cnd
  26. 3nn
  27. 3re
  28. 3cn
  29. 3ex
  30. 4nn
  31. 4re
  32. 4cn
  33. 5nn
  34. 5re
  35. 5cn
  36. 6nn
  37. 6re
  38. 6cn
  39. 7nn
  40. 7re
  41. 7cn
  42. 8nn
  43. 8re
  44. 8cn
  45. 9nn
  46. 9re
  47. 9cn
  48. 0le0
  49. 0le2
  50. 0le2OLD
  51. 2pos
  52. 2posOLD
  53. 2ne0
  54. 2thalfe1
  55. 3pos
  56. 3ne0
  57. 4pos
  58. 4ne0
  59. 5pos
  60. 6pos
  61. 7pos
  62. 8pos
  63. 9pos