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.

A262628 Base-10 representation of 0 and the primes at A262627.

Original entry on oeis.org

0, 5, 1619, 22861, 5608661, 123097943, 2103004511, 411605194237, 29681120620523, 8356197277826743, 141511180168198879, 23016765965614427641, 30251327028834944270131, 371385619022538141977254297, 124784413675757116661951994259
Offset: 1

Views

Author

Clark Kimberling, Oct 02 2015

Keywords

Examples

			n   A262627(n)    base-10 representation
1   0                   0
2   101                 5
3   11001010011         1619
		

Crossrefs

Cf. A262627. Subsequence of A016041 (except a(1)).

Programs

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