cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

Showing 1-7 of 7 results.

A336779 a(n) is the largest power of n such that all numbers n^k <= a(n), k=1,..,A336778(n)-1 can be exactly represented as double precision 64-bit floating point numbers according to the IEEE 754 standard. If a(n) is a power of 2, it is replaced by the corresponding negated exponent of 2.

Original entry on oeis.org

-1023, 5559060566555523, -1022, 2384185791015625, 47751966659678405306351616, 1628413597910449, -1023, 1853020188851841, 10000000000000000000000, 4177248169415651, 410186270246002225336426103593500672, 3937376385699289, 426878854210636742656, 1946195068359375, -1020
Offset: 2

Views

Author

Hugo Pfoertner, Aug 04 2020

Keywords

Comments

The "power of 2" escape clause serves to avoid the corresponding numbers with more than 305 decimal digits in the DATA field.

Examples

			a(3) = 5559060566555523 = 3^33, because the next power 3^34 = 16677181699666569 cannot be exactly represented as a binary64 floating point number, but only rounded to 16677181699666568.
		

Crossrefs

Formula

a(n) = n^(A336778(n)-1).

A336774 a(n) is the least number of repetitions such that the result of the repeated execution of the multiplication f <- f*n started at f=1 differs from the exact value n^a(n), when the multiplication is performed using 32-bit single precision floats according to the IEEE 754 standard.

Original entry on oeis.org

128, 16, 64, 11, 16, 9, 43, 8, 11, 7, 16, 7, 9, 7, 32, 6, 8, 6, 11, 6, 7, 6, 16, 6, 7, 6, 9, 5, 7, 5, 26, 5, 6, 5, 8, 5, 6, 5, 11, 5, 6, 5, 7, 5, 6, 5, 16, 5, 6, 5, 7, 5, 6, 5, 9, 5, 5, 5, 7, 5, 5, 5, 22, 4, 5, 4, 6, 4, 5, 4, 8, 4, 5, 4, 6, 4, 5, 4, 11, 4, 5, 4
Offset: 2

Views

Author

Hugo Pfoertner, Aug 04 2020

Keywords

Comments

For n a power of two the first deviation is caused by exceeding the maximum representable number of the binary32 single precision floating point format.

Crossrefs

A336775 a(n) is the largest power of n such that all numbers n^k <= a(n), k=1,..,A336774(n)-1 can be exactly represented as single precision 32-bit floating point numbers according to the IEEE 754 standard.

Original entry on oeis.org

170141183460469231731687303715884105728, 14348907, 85070591730234615865843651857942052864, 9765625, 470184984576, 5764801, 85070591730234615865843651857942052864, 4782969, 10000000000, 1771561, 15407021574586368, 4826809, 1475789056, 11390625, 21267647932558653966460912964485513216
Offset: 2

Views

Author

Hugo Pfoertner, Aug 04 2020

Keywords

Examples

			a(3) = 14348907 = 3^15, because the next power 3^16 = 43046721 cannot be exactly represented as a binary32 floating point number, but only rounded to 43046720.
		

Crossrefs

Formula

a(n) = n^(A336774(n)-1).

A336776 a(n) is the least number of repetitions such that the result of the repeated execution of the multiplication f <- f*n started at f=1 produces an overflow, when the multiplication is performed using 32-bit single precision floats according to the IEEE 754 standard.

Original entry on oeis.org

128, 81, 64, 56, 50, 46, 43, 41, 39, 38, 36, 35, 34, 33, 32, 32, 31, 31, 30, 30, 29, 29, 28, 28, 28, 27, 27, 27, 27, 26, 26, 26, 26, 25, 25, 25, 25, 25, 25, 24, 24, 24, 24, 24, 24, 24, 23, 23, 23, 23, 23, 23, 23, 23, 23, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 21
Offset: 2

Views

Author

Hugo Pfoertner, Aug 07 2020

Keywords

Comments

See A336774 for more information and links.
The overflow usually raises the corresponding exception, with +infinity returned as result.

Crossrefs

A336780 a(n) is the least number of repetitions such that the result of the repeated execution of the multiplication f <- f*n started at f=1 produces an overflow, when the multiplication is performed using 64-bit double precision floats according to the IEEE 754 standard.

Original entry on oeis.org

1024, 647, 512, 442, 397, 365, 342, 324, 309, 297, 286, 277, 269, 263, 256, 251, 246, 242, 237, 234, 230, 227, 224, 221, 218, 216, 214, 211, 209, 207, 205, 203, 202, 200, 199, 197, 196, 194, 193, 192, 190, 189, 188, 187, 186, 185, 184, 183, 182, 181, 180, 179, 178
Offset: 2

Views

Author

Hugo Pfoertner, Aug 07 2020

Keywords

Comments

See A336774 for more information and links.
The overflow usually raises the corresponding exception, with +infinity returned as result.

Crossrefs

A336777 a(n) is the least number of repetitions such that the result of the repeated execution of the division f <- f/n started at f=1 produces 0, when the division is performed using 32-bit single precision floats according to the IEEE 754 standard.

Original entry on oeis.org

151, 96, 76, 66, 59, 55, 51, 49, 47, 45, 43, 42, 41, 40, 39, 38, 37, 37, 36, 36, 35, 35, 34, 34, 33, 33, 33, 32, 32, 32, 31, 31, 31, 31, 31, 30, 30, 30, 30, 29, 29, 29, 29, 29, 29, 29, 28, 28, 28, 28, 28, 28, 28, 27, 27, 27, 27, 27, 27, 27, 27, 27, 26, 26, 26, 26
Offset: 2

Views

Author

Hugo Pfoertner, Aug 07 2020

Keywords

Comments

See A336774 for more information and links.
In contrast to multiplication (A336776), a larger range of values can be used in division by using leading zeros in the significands. The underflow gap is filled by using denormal numbers, also called subnormal numbers.

Crossrefs

A336781 a(n) is the least number of repetitions such that the result of the repeated execution of the division f <- f/n started at f=1 produces 0, when the division is performed using 64-bit double precision floats according to the IEEE 754 standard.

Original entry on oeis.org

1076, 680, 539, 464, 417, 384, 360, 341, 325, 312, 301, 292, 284, 277, 270, 264, 259, 255, 250, 246, 243, 239, 236, 233, 230, 228, 225, 223, 221, 218, 216, 215, 213, 211, 209, 208, 206, 205, 203, 202, 201, 200, 198, 197, 196, 195, 194, 193, 192, 191, 190, 189, 188
Offset: 2

Views

Author

Hugo Pfoertner, Aug 07 2020

Keywords

Comments

See A336777 and A336774 for more information and links.

Crossrefs

Showing 1-7 of 7 results.