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.

A129474 Primes of Erdos-Selfridge class 14+.

Original entry on oeis.org

1704961513, 7281416041, 7638227617, 9462536833, 11934730597, 13237911481, 13282423003, 13522629793, 13942983841, 14185279861, 16029089501, 16221987853, 17434233041, 18171787987, 19639505461, 20717555041
Offset: 1

Views

Author

M. F. Hasler, Apr 16 2007

Keywords

Comments

Primes of class r (or r+) are by definition the primes p for which p + 1 has all factors of a lower class < r, but at least one factor of class r - 1. See A005113 for more information.
a(1..149) calculated using A090468 up to 37.5e9, which gives A129474(150) > 75e9.

Examples

			a(1) = A005113[14] = 1704961513 = -1+2*852480757, where 852480757 = A090468[2]
		

Crossrefs

Programs

  • PARI
    class(n, s=1) = { if(!isprime(n),0, if(!(n=factor(n+s)[,1]) || n[ #n]<=3,1, for(i=2,#n,n[1]=max(class(n[i],s)+1,n[1]));n[1]))};
    nextclass(a,s=1,p,n=[])={if(!p,p=nextprime(a[ #a]+1)); print("producing primes of class ",1+class(a[1],s),["+","-"][1+(s<0)]," up to 2*",p); for(i=1,#a,for(k=1,p/a[i],if(isprime(2*k*a[i]-s),n=concat(n,2*k*a[i]-s))));vecsort(n)};
    A129474=nextclass(A090468,1)

Formula

{ a(n) } = { p = 2*m*A090468(k)-1 | k=1,2,3... and m=1,2,3... such that p is prime and m has no factor of class > 13+ }