OFFSET
1,1
COMMENTS
It is possible to compute additional terms by taking the last term, treating it as base-10 and converting to base-5. This will necessarily create a term which can converted back to base 10 yielding the previous term in the sequence which will itself yield N further terms. But there is no guarantee (except in base 2) that the term so derived will be the first term to produce a sequence of N+1 terms. There could be another, smaller, term which satisfies that requirement but which uses different terms. Pushing the last term of this sequence yields 201201142014 as a possible next term.
EXAMPLE
a(3) = 44 because 44 is the first number that can produce a sequence of three terms by repeated interpretation as a base 5 number: [44] (base-5) --> [24] (base-5) --> [14] (base-5) --> [9]. Since 9 cannot be interpreted as a base 5 number, the sequence terminates with 14. a(1) = 14 because 14 is the first number that can be reduced once, yielding no further terms interpretable as base 5.
CROSSREFS
KEYWORD
base,more,nonn
AUTHOR
Chuck Seggelin (seqfan(AT)plastereddragon.com), Jul 10 2008
EXTENSIONS
a(9) from Giovanni Resta, Feb 23 2013
STATUS
approved