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. 0ne1
  18. 1m1e0
  19. 2nn
  20. 2re
  21. 2cn
  22. 2cnALT
  23. 2ex
  24. 2cnd
  25. 3nn
  26. 3re
  27. 3cn
  28. 3ex
  29. 4nn
  30. 4re
  31. 4cn
  32. 5nn
  33. 5re
  34. 5cn
  35. 6nn
  36. 6re
  37. 6cn
  38. 7nn
  39. 7re
  40. 7cn
  41. 8nn
  42. 8re
  43. 8cn
  44. 9nn
  45. 9re
  46. 9cn
  47. 0le0
  48. 0le2
  49. 2pos
  50. 2ne0
  51. 3pos
  52. 3ne0
  53. 4pos
  54. 4ne0
  55. 5pos
  56. 6pos
  57. 7pos
  58. 8pos
  59. 9pos