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.

A137689 Indices m such that A128646(m)-1 is prime, where A128646 = denominator of partial sums of 1/(p(i)-1).

Original entry on oeis.org

3, 4, 5, 7, 8, 9, 10, 11, 15, 16, 23, 24, 26, 47, 48, 54, 78, 79, 80, 243, 244, 245, 246, 247, 367, 368, 369, 370, 371, 372, 373, 374, 375, 447, 453, 635, 636, 1656, 1657, 1658, 1659, 1660, 18618, 18619, 18620, 18621, 18622, 18623, 18624, 18625, 18626, 18627, 18628, 18629, 18630, 18631, 18632, 18633, 18634, 18635
Offset: 1

Views

Author

M. F. Hasler, Feb 07 2008

Keywords

Comments

Terms corresponding to indices m = a(k) > 1000 are not certified primes but at least probable primes. Is there a simple explanation for the large gaps between a(k)=80, a(k+1)=243 and a(k)=636, a(k+1)=1656?

Crossrefs

Programs

  • PARI
    print_A137689(i=0/*start checking at i+1*/)={my(s=sum(j=1,i,1/(prime(j)-1))); while(1, while(!ispseudoprime(-1+denominator(s+=1/(prime(i++)-1))),);print1(i","))}

Extensions

Edited by T. D. Noe, Oct 30 2008
a(43)-a(60) from Jason Yuen, Sep 26 2024

A137690 Primes of the form A128646(k)-1 for some k (listed in A137689), where A128646 = denominators of partial sums of 1/(prime(i)-1).

Original entry on oeis.org

3, 11, 59, 79, 719, 7919, 55439, 425039, 5525519, 19709529839, 197095298399, 999294451257532807016639, 2823006824802530179822007999, 2649530397357338361250749788962714016407928543999
Offset: 1

Views

Author

M. F. Hasler, Feb 07 2008

Keywords

Comments

The next term is A128646(243)-1, which has 148 decimal digits. New terms should be added to A137689, not here.

Crossrefs

Programs

  • PARI
    A137689_v=[3,4,5,7,8,9,10,11,15,16,23,24,26,47,48,54,78,79,80,243]/*see there*/;
    vecsort(vector(#A137689_v,k,denominator(sum(i=1,A137689_v[k],1/(prime(i)-1)))/*i.e.
    A128646(A137689_v[k])*/-1),0,8) /* ...,8 removes duplicate entries in PARI > 2.4.1 */

A137691 Indices m such that A128646(m)+1 is prime, where A128646 = denominators of partial sums of 1/(prime(i)-1).

Original entry on oeis.org

1, 2, 3, 4, 5, 6, 10, 11, 12, 13, 14, 18, 38, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 475, 476, 477, 478, 479, 488, 489, 490, 491, 492, 493, 858, 859, 860, 861, 862, 863, 864, 2670, 3261, 3262, 3263, 3264, 3265, 4819, 6034, 6035, 6036, 6037, 6038
Offset: 1

Views

Author

M. F. Hasler, Feb 07 2008

Keywords

Comments

Terms corresponding to indices m = a(k) > 1000 are not certified primes but at least probable primes. Is there a simple explanation for the large gaps between a(k)=38 and a(k+1)=376; a(k)=864 and a(k+1)=2670, etc.?

Examples

			n=3 is in this sequence because A128646(n)+1 = 5 is a prime (where A128646(3) is the denominator of 1/(2-1) + 1/(3-1) + 1/(5-1) = 7/4).
		

Crossrefs

Programs

  • PARI
    print_A137691(i=0/*start checking at i+1*/)={my(s=sum(j=1,i,1/(prime(j)-1))); while(1, while(!ispseudoprime(1+denominator(s+=1/(prime(i++)-1))),);print1(i","))}

Extensions

Edited by T. D. Noe, Oct 30 2008
Showing 1-3 of 3 results.