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.

A262636 Base-10 representation of 1 and the primes at A262635.

Original entry on oeis.org

1, 409, 88469, 3499607, 525755773, 1889074241401, 14476124563693171, 3690382506839631667, 944489835647492584243, 17945058791198905978063, 1798278215177468964031733, 17136765345945336793560989047, 39126270988987383599688999460333
Offset: 1

Views

Author

Clark Kimberling, Oct 02 2015

Keywords

Examples

			n   A262635(n)    base-10 representation
1   1             1
2   12121         409
3   111212111     88469
		

Crossrefs

Cf. A262635. Subsequence of A029972.

Programs

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