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

A159672 Continued fraction expansion of A038458.

Original entry on oeis.org

0, 1, 1, 3, 4, 2, 13, 2, 3, 4, 1, 1, 1, 1, 2, 2, 1, 1, 1, 1, 1, 3, 1, 90, 4, 52, 5, 1, 3, 1, 1, 2, 1, 12, 2, 1, 1, 2, 2, 2, 1, 1, 3, 10, 75, 15, 1, 2, 2, 3, 1, 1, 2, 1, 1, 1, 9, 4, 9, 1, 1, 1, 3, 3, 1, 1, 1, 2, 1, 1, 1, 3, 3, 1, 3, 4, 2, 4, 7, 1, 78, 1, 1, 1, 1, 1, 44, 1, 2, 1, 9, 37, 1, 2, 1, 10, 8, 1, 14
Offset: 0

Views

Author

Harry J. Smith, Apr 19 2009

Keywords

Examples

			0.5671481302020177146468468755... = 0 + 1/(1 + 1/(1 + 1/(3 + 1/(4 + ...)))).
		

Programs

  • PARI
    { allocatemem(932245000); default(realprecision, 21000); x=contfrac(solve(x=.5,.6,127^x-113^x-1)); for (n=0, 20000, write("b159672.txt", n, " ", x[n+1])); }

Extensions

Edited by N. J. A. Sloane, Dec 16 2013

A361919 The number of primes > A000040(n) and <= (A000040(n)^c + 1)^(1/c), where c = 0.567148130202... is defined in A038458.

Original entry on oeis.org

1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 2, 2, 1, 1, 2, 2, 2, 2, 2, 2, 2, 1, 2, 4, 4, 3, 2, 1, 1, 3, 2, 3, 2, 3, 2, 3, 3, 3, 2, 3, 3, 3, 2, 2, 1, 3, 5, 4, 3, 3, 3, 2, 3, 3, 4, 4, 3, 3, 2, 1, 3, 3, 3, 2, 2, 4, 4, 4, 3, 3, 3, 4, 3, 4, 3, 3, 3, 3, 4, 5, 4, 4, 4, 5, 5
Offset: 1

Views

Author

Hal M. Switkay, Mar 29 2023

Keywords

Comments

Let c = 0.567148130202... (see A038458), the solution to 127^x - 113^x = 1. c is conjectured by Smarandache to be the smallest real number x such that A000040(n+1)^x - A000040(n)^x = 1 has a solution. This conjecture is equivalent to saying that the terms of the present sequence are always positive, but that if c were replaced by a larger real number, there would be zeros in the sequence. However, note that a(30) is not the last occurrence of 1: a(46) = a(61) = 1 as well.

Examples

			a(30) is the number of primes > A000040(30), which is 113, and <= (113^c + 1)^(1/c) = 127. This relatively large interval contains only the prime 127.
		

Crossrefs

A079098 Conjectured values of greatest k such that for any consecutive primes q, q', k <= q < q', sqrt(q')-sqrt(q) < 1/n.

Original entry on oeis.org

1, 113, 1327, 2971, 31397, 34061, 43331, 44293, 58831, 155921, 370261, 370261, 492113, 492113, 492113, 604073, 604073, 1357201, 1561919, 2010733, 2010733, 2010733, 2010733, 2010733, 2010733, 2010733, 2010733, 2238823, 4652353, 4652353, 4652353, 4652353
Offset: 1

Views

Author

Rainer Rosenthal, Feb 02 2003

Keywords

Comments

Inspired by Andrica's conjecture.
Each of these terms, k, has been tested to at least 100*k. - Sean A. Irvine, Jul 29 2025

References

  • R. K. Guy, "Unsolved Problems in Number Theory", Springer-Verlag 1994, A8, p. 21

Crossrefs

Extensions

More terms from Sean A. Irvine, Jul 29 2025

A090527 Smallest prime p such that floor((n^n)/p) is prime, or 0 if no such number exists.

Original entry on oeis.org

2, 2, 11, 29, 11, 137, 79, 149, 13, 17, 181, 7, 71, 41, 53, 541, 197, 61, 149, 149, 19, 541, 1663, 829, 229, 599, 13, 563, 113, 137, 13, 1129, 421, 1759, 683, 389, 919, 877, 233, 1933, 2137, 97, 331, 881, 1753, 193, 137, 521, 1063, 59
Offset: 2

Views

Author

Amarnath Murthy, Dec 07 2003

Keywords

Comments

Conjecture: No term is zero.
As long as p(j+1)/p(j) < 2 for all j, then for any integer n >= 4, there exists at least one p such that p and floor(n/p) are both prime. (I do not know a proof for the premise above; however, it seems quite weak compared to other conjectures and theorems about primes. It may be that it follows from the results in sequence A038458.) In fact, there exists a prime p such that either floor(n/p) = 2 or floor(n/p) = 3. Outline of proof: (1) If p is a prime number, then for all n with 2p <= n < 3p, floor(n/p) = 2, which is prime. (2) In addition, for all n with 3p <= n < 4p, floor(n/p) = 3, which is prime. So for any n >= 4, consider the largest prime, p, with 2p <= n. (3) floor(n/p) can't be less than 2, since 2 <= n/p. (4) If floor(n/p) = 2, then p and floor(n/p) are both prime, so we are done. (5) Similarly, if floor(n/p) = 3, we are done. The only remaining case is that 4p <= n. Let p_1 be the next prime after p. (6) p_n must not meet 2(p_1) <= n, since p is the largest that does. Therefore 2(p_1) > n. (7) 4p <= n < 2(p_1) (8) (p_1 / p) > 2 (9) As long as p(j+1)/p(j) < 2 for all j, the case of 4p <= n is not possible. - Weston Markham (WMarkham(AT)paradigmgenetics.com), Jun 15 2004

Crossrefs

Programs

  • Mathematica
    <Ryan Propper, Aug 02 2005 *)

Extensions

a(7)-a(14) from Weston Markham (WMarkham(AT)paradigmgenetics.com), Jun 15 2004
a(15)-a(51) from Ryan Propper, Aug 02 2005

A079063 Least k such that sqrt(prime(n+k))-sqrt(prime(n))>1.

Original entry on oeis.org

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

Views

Author

Benoit Cloitre, Feb 02 2003

Keywords

Comments

Inspired by Andrica's conjecture. If it is true, a(n)>1 for all n.

Programs

  • PARI
    a(n)=if(n<0,0,k=1; while(abs(sqrt(prime(n+k))-sqrt(prime(n)))<1,k++); k)

Formula

Conjecture: there is a constant c>0 such that for n large enough, a(n)>c*sqrt(n) and we can take c=0.4. More precisely, there are 2 constants A and B such that A=lim sup n ->infinity a(n)/sqrt(n) exists = 0.75....; B=lim inf n ->infinity a(n)/sqrt(n) exists =0.46....
Showing 1-5 of 5 results.