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.

A262634 Base-10 representation of 0 and the primes at A262633.

Original entry on oeis.org

0, 17, 839, 15647, 19875809, 271854991487, 1037745510031339, 1723740375514348277, 79540916124198230488513, 5823206408678014785594704353, 331079896899961216174255077712193, 5255024346804703767393892624827437183, 679574531660517571339207845002833364989
Offset: 1

Views

Author

Clark Kimberling, Oct 02 2015

Keywords

Examples

			n   A262633(n)    base-10 representation
1   0                0
2   101              17
3   31013            839
		

Crossrefs

Cf. A262633. Subsequence of A029972.

Programs

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