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-3 of 3 results.

A098640 a(n) = 2^p + 1 where p is the n-th prime.

Original entry on oeis.org

5, 9, 33, 129, 2049, 8193, 131073, 524289, 8388609, 536870913, 2147483649, 137438953473, 2199023255553, 8796093022209, 140737488355329, 9007199254740993, 576460752303423489, 2305843009213693953
Offset: 1

Views

Author

Parthasarathy Nambi, Oct 27 2004

Keywords

Examples

			If p=2, 2^2+1 = 5.
If p=7, 2^7+1 = 129.
		

Crossrefs

Cf. A184084.

Programs

Formula

Product_{n>=1} (1 - 1/a(n)) = A184084. - Amiram Eldar, Nov 22 2022

Extensions

More terms from Robert G. Wilson v, Nov 01 2004

A184083 Decimal expansion of product_{p=primes} (1+1/2^p).

Original entry on oeis.org

1, 4, 6, 2, 4, 3, 1, 2, 1, 9, 0, 0, 6, 9, 5, 9, 8, 0, 1, 3, 5, 7, 2, 2, 9, 0, 4, 0, 1, 8, 9, 7, 7, 7, 0, 5, 7, 4, 2, 5, 6, 5, 7, 5, 7, 5, 8, 0, 8, 7, 7, 8, 3, 2, 0, 1, 1, 6, 6, 9, 4, 2, 9, 9, 3, 1, 0, 3, 3, 8, 8, 9, 7, 7, 9, 3, 9, 7, 6
Offset: 1

Views

Author

R. J. Mathar, Jan 09 2011

Keywords

Comments

Inverse of the constant A184084.

Examples

			(1+1/2^2) *(1+1/2^3) *(1+1/2^5) *(1+1/2^7) *(1+1/2^11)* .... = 1.4624312190069598013...
		

Programs

Formula

Equals product_{p in A000040} (1+2^(-p)) = sum_{n>=0} A000586(n)/2^n.

A293258 Decimal expansion of product of 1 - 4^-p over all primes p.

Original entry on oeis.org

9, 2, 1, 8, 9, 3, 8, 3, 5, 2, 9, 6, 9, 3, 1, 8, 5, 9, 1, 9, 4, 6, 7, 0, 3, 0, 2, 7, 9, 9, 8, 0, 7, 1, 8, 6, 7, 3, 2, 2, 0, 5, 4, 7, 8, 7, 3, 8, 8, 6, 2, 6, 7, 4, 9, 7, 6, 2, 3, 0, 6, 6, 0, 3, 9, 3, 8, 6, 4, 4, 5, 3, 1, 2, 2, 8, 6, 0, 8, 9, 3, 7, 0, 9, 3, 8, 7, 5, 6, 0, 5, 5, 6, 0, 8, 5, 5, 3, 9, 4, 8, 7, 0, 2, 6
Offset: 0

Views

Author

Keywords

Comments

Knopfmacher proves that prime(n+1) = floor(1 - log(1 - A/P)) where A is this constant and P is the product (1 - 4^-2)(1 - 4^-3)(1 - 4^-5)...(1 - 4^-prime(n)).

Examples

			0.921893835296931859194670302799807186732205478738862674976230660393864453122...
		

Crossrefs

Programs

  • PARI
    prodeuler(p=2, bitprecision(1.)/2+2, 1-4.^-p)

Formula

Equals A184082 * A184083 = A184082 / A184084. - Amiram Eldar, Nov 16 2021
Showing 1-3 of 3 results.