[go: up one dir, main page]

login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A262628
Base-10 representation of 0 and the primes at A262627.
2
0, 5, 1619, 22861, 5608661, 123097943, 2103004511, 411605194237, 29681120620523, 8356197277826743, 141511180168198879, 23016765965614427641, 30251327028834944270131, 371385619022538141977254297, 124784413675757116661951994259
OFFSET
1,2
LINKS
EXAMPLE
n A262627(n) base-10 representation
1 0 0
2 101 5
3 11001010011 1619
MATHEMATICA
s = {0}; base = 2; z = 20; Do[NestWhile[# + 1 &, 1, ! PrimeQ[tmp = FromDigits[Join[#, IntegerDigits[Last[s]], Reverse[#]] &[IntegerDigits[#, base]], base]] &];
AppendTo[s, FromDigits[IntegerDigits[tmp, base]]], {z}]; s (* A262627 *)
Map[FromDigits[ToString[#], base] &, s] (* A262628 *)
(* Peter J. C. Moses, Sep 01 2015 *)
CROSSREFS
Cf. A262627. Subsequence of A016041 (except a(1)).
Sequence in context: A165877 A366830 A123658 * A375693 A237914 A057199
KEYWORD
nonn,base
AUTHOR
Clark Kimberling, Oct 02 2015
STATUS
approved