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.

A262642 Base-10 representation of 1 and the primes at A262641.

This page as a plain text file.
%I A262642 #4 Oct 25 2015 17:59:22
%S A262642 1,31,2659,28921,20254277,222258347161,6703502508238897,
%T A262642 2849796577598550571,163260594826469315359,78587320839900014133983,
%U A262642 63082726980138277941240209,28861909227691304085982177103,17774573388934687063056536849453
%N A262642 Base-10 representation of 1 and the primes at A262641.
%H A262642 Clark Kimberling, <a href="/A262642/b262642.txt">Table of n, a(n) for n = 1..300</a>
%e A262642 n   A262641(n)    base-10 representation
%e A262642 1     1                  1
%e A262642 2     111                31
%e A262642 3     41114              2659
%t A262642 s = {3}; base = 4; z = 20; Do[NestWhile[# + 1 &, 1, ! PrimeQ[tmp = FromDigits[Join[#, IntegerDigits[Last[s]], Reverse[#]] &[IntegerDigits[#, base]], base]] &];
%t A262642 AppendTo[s, FromDigits[IntegerDigits[tmp, base]]], {z}]; s  (* A262639 *)
%t A262642 Map[FromDigits[ToString[#], base] &, s]  (* A262640 *)
%t A262642 (* _Peter J. C. Moses_, Sep 01 2015 *)
%Y A262642 Cf. A262641.
%K A262642 nonn,easy,base
%O A262642 1,2
%A A262642 _Clark Kimberling_, Oct 24 2015