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.

A091922 Smallest m such that the decimal representation of the m-th prime interpreted in base n is not a prime, but prime in bases 10 <= b < n.

Original entry on oeis.org

5, 10, 19, 18, 3801, 6167, 251529, 128019, 13780180, 20576
Offset: 11

Views

Author

Reinhard Zumkeller, Feb 13 2004

Keywords

Comments

No more terms <= 3*10^10. - Michael S. Branicky, Apr 02 2025

Crossrefs

Cf. A090862.

Programs

  • Mathematica
    f[p_] := Module[{d = IntegerDigits[p], b = 11}, While[PrimeQ[FromDigits[d, b]], b++]; b]; a[n_] := Module[{p = 11, m = 5}, While[f[p] != n, p = NextPrime[p]; m++]; m]; Array[a, 8, 11] (* Amiram Eldar, Mar 28 2025 *)

Formula

A090862(a(n)) = n and A090862(m) <> n for m < a(n).

Extensions

a(17)-a(20) from Amiram Eldar, Mar 28 2025