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.

A262660 Base-10 representation of 0 and the primes at A262659.

Original entry on oeis.org

0, 5657, 86345293, 237454332763, 15093774195419, 18980400057988801, 5101019329173526512449, 70444162774715597829754987, 6453548574996065731165894530641, 1664839211601542826784115763350118929, 18481797523273175767936412210169891030107
Offset: 1

Views

Author

Clark Kimberling, Oct 31 2015

Keywords

Examples

			n   A262659(n)    base-10 representation
1    0                 0
2    13031             5657
3    511303115         86345293
		

Crossrefs

Cf. A262659.

Programs

  • Mathematica
    s = {0}; base = 8; 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  (* A262659 *)
    Map[FromDigits[ToString[#], base] &, s]  (* A262660 *)
    (* Peter J. C. Moses, Sep 01 2015 *)