

A309737


Base conversion sequence: a(1) = 1; a(n) is the concatenation of all the previous terms, evaluated in base n1, written in base n.


0




OFFSET

1,3


COMMENTS

This will only work for n <= 10. To get a sequence that is defined for all n, it will be necessary to replace a(n) by a list of its "digits". So the result will be a triangle: 1 / 1 / 1,0 / 2,1,3 / ..., in which row n is a list of the digits written in base n. This should be an additional sequence with a crossreference to this one.  N. J. A. Sloane, Sep 21 2019


LINKS

Table of n, a(n) for n=1..8.


FORMULA

a(1) = 1; a(n) is the concatenation of all the previous terms, evaluated in base n1, written in base n.


EXAMPLE

For a(3) the previous terms are {1,1}. Evaluating the concatenation of those terms in base n1 = 2 gives 11_2 = 3; converting that to base n = 3 gives 10_3, so a(3) = 10.
n=4: 1110_3 = 39_10 = 213_4, so a(4) = 213.


CROSSREFS

Sequence in context: A332408 A245981 A245985 * A211912 A213788 A278125
Adjacent sequences: A309734 A309735 A309736 * A309738 A309739 A309740


KEYWORD

nonn,base,more


AUTHOR

Moshe Levy, Aug 14 2019


STATUS

approved



