This site is supported by donations to The OEIS Foundation.
8
8 is the cube of 2, the largest cube in the sequence of Fibonacci numbers.
Membership in core sequences
| Even numbers | 0, 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, ... | A005843 |
| Composite numbers | 4, 6, 8, 9, 10, 12, 14, 15, 16, 18, 20, 21, 22, ... | A002808 |
| Cubes | 1, 8, 27, 64, 125, 216, 343, 512, 729, 1000, ... | A000578 |
| Powers of 2 | 1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, ... | A000079 |
| Primes and powers of primes | 1, 2, 3, 4, 5, 7, 8, 9, 11, 13, 16, 17, 19, 23, ... | A000961 |
| Fibonacci numbers | 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144, 233, ... | A000045 |
In Pascal's triangle, 8 occurs only twice, namely in row 8, in the second and next to last positions.
Sequences pertaining to 8
| Multiples of 8 | 0, 8, 16, 24, 32, 40, 48, 56, 64, 72, 80, 88, 96, ... | A008590 |
| Octagonal numbers | 1, 8, 21, 40, 65, 96, 133, 176, 225, 280, 341, ... | A000567 |
| Centered octagonal numbers | 1, 9, 25, 49, 81, 121, 169, 225, 289, 361, 441, ... | A016754 |
| Octagonal pyramidal numbers | 1, 9, 30, 70, 135, 231, 364, 540, 765, 1045, ... | A002414 |
Partitions of 8
There are twenty-two partitions of 8. The partitions of 8 into primes are 2 + 3 + 3 and 3 + 5.
Roots and powers of 8
In the table below, irrational numbers are given truncated to eight decimal places.
| 2.82842712 | A010466 | 8 2 | 64 | |
| 2.00000000 | A000038 | 8 3 | 512 | |
| 1.68179283 | A011006 | 8 4 | 4096 | |
| 1.51571656 | A011093 | 8 5 | 32768 | |
| 1.41421356 | A002193 | 8 6 | 262144 | |
| 1.34590019 | A011246 | 8 7 | 2097152 | |
| 1.29683955 | A011247 | 8 8 | 16777216 | |
| 1.25992104 | A002580 | 8 9 | 134217728 | |
| 1.23114441 | A011249 | 8 10 | 1073741824 | |
| A001018 |
Of course the roots given above are the principal real roots. There are also negative real roots and complex roots.
- , (both real)
- , (the two complex roots are the same except for the sign of the imaginary part)
- , , ,
- , etc.
Logarithms and eighth powers
In the OEIS specifically and mathematics in general, refers to the natural logarithm of , whereas all other bases are specified with a subscript. Octal logarithms are only occasionally considered.
As above, irrational numbers in the following table are truncated to eight decimal places.
| 0.33333333 | A010701 | 3.00000000 | 2 8 | 256 | ||||
| 0.48089834 | 2.07944154 | A016631 | 2980.95798704 | |||||
| 0.52832083 | A152956 | 1.89278926 | A113210 | 3 8 | 6561 | |||
| 0.55049870 | 1.81653468 | 9488.53101607 | ||||||
| 0.66666666 | 1.50000000 | 4 8 | 65536 | |||||
| 0.77397603 | A153204 | 1.29202967 | A153739 | 5 8 | 390625 | |||
| 0.86165416 | A153493 | 1.16055842 | A153754 | 6 8 | 1679616 | |||
| 0.93578497 | A153618 | 1.06862156 | A153755 | 7 8 | 5764801 | |||
| 1.00000000 | 8 8 | 16777216 | ||||||
| 1.05664166 | A154010 | 0.94639463 | A153756 | 9 8 | 43046721 | |||
| 1.10730936 | A154159 | 0.90308998 | A153790 | 10 8 | 100000000 | |||
(See A001016 for the eighth powers of integers).
Values for number theoretic functions with 8 as an argument
| 0 | ||
| –2 | ||
| 4 | ||
| 15 | ||
| 4 | ||
| 4 | ||
| 3 | ||
| 1 | ||
| -1 | This is the Carmichael lambda function. | |
| –1 | This is the Liouville lambda function. | |
| 1.0040773561979443393786852385... (see A013666). | ||
| 8! | 40320 | |
| 5040 | ||
Factorization of 8 in some quadratic integer rings
In , 8 has the prime factorization of 2 3. But it has different factorizations in some quadratic integer rings.
| 2 3 | |||
| 2 3 | |||
| 2 3 | 2 3 | ||
| 2 3 | |||
| 2 3 | |||
The astute reader might wonder if counts as a factorization apart from 2 3 in . But that is not a complete ring of algebraic integers, as , where . So, as it turns out, , thus . But is a unit, and therefore is no more a distinct factorization than, say, , in which –1 is a unit and therefore does not turn 2 3 into anything substantially different.
The relationship of −8, 8 to quadratic integer rings adjoining the square roots of −2, 2
There really isn't such a thing as or . Any factorization that we can come up with in those "rings" essentially boils down to a factorization in or .
For example, . Note that , and that ; likewise . Also note that .
Our example for will be much more direct. This time, in , we immediately substitute for , giving us .
Essentially "" consists of those algebraic integers of the form . Since must be even, we are ignoring algebraic integers for which is multiplied by an odd integer, and so "" is a "sub-domain" of . Likewise for "" and .
Representation of 8 in various bases
| Base | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 through 36 |
| Representation | 1000 | 22 | 20 | 13 | 12 | 11 | 10 | 8 |
In the balanced ternary numeral system, 8 is {1, 0, –1}, meaning . In negabinary, 8 is 11000, since . In quater-imaginary base, 8 is 10200. In the factorial numeral system, 8 is 110, since . And in -base, 8 is 1000000.
The octal numeral system, which is occasionally used by computer programmers, can be thought of as a shorthand for binary, whereby three binary digits correspond to one octal digit:
| 000 | 0 |
| 001 | 1 |
| 010 | 2 |
| 011 | 3 |
| 100 | 4 |
| 101 | 5 |
| 110 | 6 |
| 111 | 7 |
Thus, the powers of 2 in octal are then 1, 2, 4, 10, 20, 40, 100, ... (A004647), and the Mersenne numbers are 1, 3, 7, 17, 37, 77, ...
See also
| 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 |
| 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 |
| 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 |
| 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 |
| 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 |
| 1729 | |||||||||