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”).

A023363
a(n+1) = a(n) converted to base 6 from base 2 (written in base 10).
1
2, 6, 42, 7998, 2611812210, 1333641931958227433092278, 178851409718295616588471418100320880488356072795626108481060122
OFFSET
1,1
LINKS
EXAMPLE
6 in binary is 110. Reinterpreting 110 in base 6 gives 1 * 6^2 + 1 * 6^1 + 0 * 6^0 = 36 + 6 = 42.
MATHEMATICA
NestList[FromDigits[IntegerDigits[#, 2], 6] &, 2, 8] (* Alonso del Arte, Jan 22 2019 *)
PROG
(PARI) a(n) = if (n==1, 2, fromdigits(binary(a(n-1)), 6)); \\ Michel Marcus, Jan 22 2019
CROSSREFS
Cf. A023362 (bases 2 & 5).
Sequence in context: A100016 A344562 A000610 * A091241 A198076 A330675
KEYWORD
nonn,base
STATUS
approved