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.

A262662 Base-10 representation of 1 and the primes at A262661.

This page as a plain text file.
%I A262662 #4 Nov 09 2015 16:21:12
%S A262662 1,73,397921,1367644241,299767396606721,90081358266396705673,
%T A262662 572449184873406814806649,241691401643304337894510228163,
%U A262662 1070153549095058339670505721475283,9539239297109609328178537670671873231,582002984818031754009910745491662885723817
%N A262662 Base-10 representation of 1 and the primes at A262661.
%H A262662 Clark Kimberling, <a href="/A262662/b262662.txt">Table of n, a(n) for n = 1..300</a>
%e A262662 n   A262661(n)    base-10 representation
%e A262662 1     1                 0
%e A262662 2     111               73
%e A262662 3     1411141           397921
%t A262662 s = {1}; base = 8; z = 20; Do[NestWhile[# + 1 &, 1, ! PrimeQ[tmp = FromDigits[Join[#, IntegerDigits[Last[s]], Reverse[#]] &[IntegerDigits[#, base]], base]] &];
%t A262662 AppendTo[s, FromDigits[IntegerDigits[tmp, base]]], {z}]; s  (* A262661 *)
%t A262662 Map[FromDigits[ToString[#], base] &, s]  (* A262662 *)
%t A262662 (* _Peter J. C. Moses_, Sep 01 2015 *)
%Y A262662 Cf. A262661.
%K A262662 nonn,easy,base
%O A262662 1,2
%A A262662 _Clark Kimberling_, Oct 31 2015