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.

A262660 Base-10 representation of 0 and the primes at A262659.

This page as a plain text file.
%I A262660 #4 Nov 09 2015 16:16:05
%S A262660 0,5657,86345293,237454332763,15093774195419,18980400057988801,
%T A262660 5101019329173526512449,70444162774715597829754987,
%U A262660 6453548574996065731165894530641,1664839211601542826784115763350118929,18481797523273175767936412210169891030107
%N A262660 Base-10 representation of 0 and the primes at A262659.
%H A262660 Clark Kimberling, <a href="/A262660/b262660.txt">Table of n, a(n) for n = 1..300</a>
%e A262660 n   A262659(n)    base-10 representation
%e A262660 1    0                 0
%e A262660 2    13031             5657
%e A262660 3    511303115         86345293
%t A262660 s = {0}; base = 8; z = 20; Do[NestWhile[# + 1 &, 1, ! PrimeQ[tmp = FromDigits[Join[#, IntegerDigits[Last[s]], Reverse[#]] &[IntegerDigits[#, base]], base]] &];
%t A262660 AppendTo[s, FromDigits[IntegerDigits[tmp, base]]], {z}]; s  (* A262659 *)
%t A262660 Map[FromDigits[ToString[#], base] &, s]  (* A262660 *)
%t A262660 (* _Peter J. C. Moses_, Sep 01 2015 *)
%Y A262660 Cf. A262659.
%K A262660 nonn,easy,base
%O A262660 1,2
%A A262660 _Clark Kimberling_, Oct 31 2015