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.

A262632 Base-10 representation of 1 and the primes at A262631.

This page as a plain text file.
%I A262632 #4 Oct 19 2015 05:11:12
%S A262632 1,13,1093,167309,1033369,7883077,974928839,685325330447,
%T A262632 384532463201461,36815155568146289,229925116170082520417,
%U A262632 148014988051032245586139,12100604707837079041828993,1155600708425254785803483981,1006197859457454560045466031133
%N A262632 Base-10 representation of 1 and the primes at A262631.
%H A262632 Clark Kimberling, <a href="/A262632/b262632.txt">Table of n, a(n) for n = 1..300</a>
%e A262632 n   A262631(n)    base-10 representation
%e A262632 1   1                1
%e A262632 2   111              13
%e A262632 3   1111111          1093
%e A262632 4   22111111122      167309
%t A262632 s = {1}; base = 3; z = 20; Do[NestWhile[# + 1 &, 1, ! PrimeQ[tmp = FromDigits[Join[#, IntegerDigits[Last[s]], Reverse[#]] &[IntegerDigits[#, base]], base]] &];
%t A262632 AppendTo[s, FromDigits[IntegerDigits[tmp, base]]], {z}]; s  (* A262631 *)
%t A262632 Map[FromDigits[ToString[#], base] &, s]  (* A262632 *)
%t A262632 (* _Peter J. C. Moses_, Sep 01 2015 *)
%Y A262632 Cf. A262631.
%K A262632 nonn,easy,base
%O A262632 1,2
%A A262632 _Clark Kimberling_, Oct 02 2015