[go: up one dir, main page]

login
a(n+1) = a(n) converted to base 8 from base 4 (written in base 10).
1

%I #19 Sep 21 2022 12:26:44

%S 4,8,16,64,512,8192,524288,268435456,4398046511104,

%T 9223372036854775808,19807040628566084398385987584,

%U 2787593149816327892691964784081045188247552,3291009114642412084309938365114701009965471731267159726697218048

%N a(n+1) = a(n) converted to base 8 from base 4 (written in base 10).

%H John Cerkan, <a href="/A023376/b023376.txt">Table of n, a(n) for n = 1..19</a>

%F a(n) = 2^A061418(n). - _John Cerkan_, Nov 04 2016

%t NestList[FromDigits[IntegerDigits[#,4],8]&,4,15] (* _Harvey P. Dale_, Sep 24 2012 *)

%o (Python)

%o from itertools import islice

%o def A023376_gen(): # generator of terms

%o a = 2

%o while True:

%o yield 1<<a

%o a += a>>1

%o A023376_list = list(islice(A023376_gen(),20)) # _Chai Wah Wu_, Sep 21 2022

%Y Cf. A061418.

%K nonn,base

%O 1,1

%A _David W. Wilson_

%E One more term (a(13)) from _Harvey P. Dale_, Sep 24 2012