login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A261270 Base-10 representation of A261269. 3

%I #14 Sep 25 2020 07:13:18

%S 3,7,29,59,239,479,3833,30671,61343,981493,3925973,62815573,502524587,

%T 2010098351,16080786809,1029170355779,4116681423119,65866902769909,

%U 263467611079637,2107740888637103,134895416872774619,17266613359715151259,1105063255021769680613

%N Base-10 representation of A261269.

%H Clark Kimberling, <a href="/A261270/b261270.txt">Table of n, a(n) for n = 1..500</a>

%t b = 2; s = {{1}}; Do[NestWhile[# + 1 &, 0, ! (PrimeQ[FromDigits[tmp = Join[Last[s],(nn = #; IntegerDigits[nn - Sum[b^n, {n, l = NestWhile[# + 1 &, 1, ! (nn - (Sum[b^n, {n, #}]) < 0) &] - 1}], b, l + 1])], b]]) &]; AppendTo[s, tmp], {30}]; Map[FromDigits, s]; Map[FromDigits, s] (* A261200 *)

%t Map[FromDigits[#, b] &, s] (* A261201 *)

%t (* _Peter J. C. Moses_, Aug 06 2015 *)

%Y Cf. A261269.

%K nonn,easy,base

%O 1,1

%A _Clark Kimberling_, Sep 17 2015

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified August 14 11:50 EDT 2024. Contains 375159 sequences. (Running on oeis4.)