|
|
A352333
|
|
a(1) = 1. For n >= 2, a(n) is the number whose base a(n-1) + 1 digit values, written in base 10, are the terms from a(1) through a(n-1).
|
|
0
|
|
|
|
OFFSET
|
1,3
|
|
COMMENTS
|
The minimal choice of a(n-1) + 1 for the base of the digit values of a(n) results in the slowest growing sequence in general. Can its growth rate be determined without computing further terms?
|
|
LINKS
|
|
|
EXAMPLE
|
a(4) = 23 because in base a(3) + 1 = 3 + 1 = 4, the digit values 1, 1 and 3 represent 1*4^2 + 1*4^1 + 3*4^0 = 16 + 4 + 3 = 23.
|
|
PROG
|
(Python)
from itertools import count, islice
def agen(): # generator of terms
alst = [1]
for n in count(2):
yield alst[-1]
b = alst[-1] + 1
alst.append(sum(alst[-1-i]*b**i for i in range(len(alst))))
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,base
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|