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.

A262654 Base-10 representation of 4 and the primes at A262653.

This page as a plain text file.
%I A262654 #4 Oct 31 2015 15:11:00
%S A262654 4,61,1663,243263,9857663,3982846453,122168020854499,
%T A262654 772191321163986959,235380054470968985242897,
%U A262654 390489415238382125919557233,2056313729049707794675149973499,18249666491214590662011175235075053,4157609603822695440999128471752421052593
%N A262654 Base-10 representation of 4 and the primes at A262653.
%H A262654 Clark Kimberling, <a href="/A262654/b262654.txt">Table of n, a(n) for n = 1..300</a>
%e A262654 n   A262653(n)    base-10 representation
%e A262654 1     4                  4
%e A262654 2     141                61
%e A262654 3     11411              1663
%t A262654 s = {4}; base = 6; z = 20; Do[NestWhile[# + 1 &, 1, ! PrimeQ[tmp = FromDigits[Join[#, IntegerDigits[Last[s]], Reverse[#]] &[IntegerDigits[#, base]], base]] &];
%t A262654 AppendTo[s, FromDigits[IntegerDigits[tmp, base]]], {z}]; s  (* A262653 *)
%t A262654 Map[FromDigits[ToString[#], base] &, s]  (* A262654 *)
%t A262654 (* _Peter J. C. Moses_, Sep 01 2015 *)
%Y A262654 Cf. A262653.
%K A262654 nonn,easy,base
%O A262654 1,1
%A A262654 _Clark Kimberling_, Oct 27 2015