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

A308270 Smallest prime with E-irregularity index n.

Original entry on oeis.org

2, 5, 307, 277
Offset: 0

Views

Author

Felix Fröhlich, May 17 2019

Keywords

Comments

Smallest prime p such that A308243(i) = n, where i is the index of p in A000040.
E-regular primes have E-irregularity index 0, so a(0) = 2, since 2 is the smallest E-regular prime (A092217).
Does such a prime exist for every n?
a(4) > 2003 if it exists.

Crossrefs

Programs

  • PARI
    a000364(n) = subst(bernpol(2*n+1), 'x, 1/4)*4^(2*n+1)*(-1)^(n+1)/(2*n+1) \\ after Charles R Greathouse IV in A000364
    a308243(n) = my(p=prime(n), e=2, i=0); while(e <= p-3, if(a000364(e)%p==0, i++); e=e+2); i
    a(n) = for(x=1, oo, if(a308243(x)==n, return(prime(x))))
Showing 1-1 of 1 results.