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.

A262644 Base-10 representation of the primes at A262643.

Original entry on oeis.org

3, 41, 2083, 26041, 1692709, 677083367, 627278646679, 187343343120121, 159655659994018667, 2255131136576400770887, 1104116174856823349350321, 18691706438024838972135587027, 241078822520146767324214702284691, 396825475231058771412223714725086039
Offset: 1

Views

Author

Clark Kimberling, Oct 24 2015

Keywords

Examples

			n   A262643(n)    base-10 representation
1     3                  3
2     131                41
3     31313              2083
		

Crossrefs

Cf. A262643.

Programs

  • Mathematica
    s = {3}; base = 5; z = 20; Do[NestWhile[# + 1 &, 1, ! PrimeQ[tmp = FromDigits[Join[#, IntegerDigits[Last[s]], Reverse[#]] &[IntegerDigits[#, base]], base]] &];
    AppendTo[s, FromDigits[IntegerDigits[tmp, base]]], {z}]; s  (* A262643 *)
    Map[FromDigits[ToString[#], base] &, s]  (* A262644 *)
    (* Peter J. C. Moses, Sep 01 2015 *)