OFFSET
1,1
COMMENTS
It is sometimes possible to compute additional terms by taking the last term, treating it as base 10 and converting to base 8. This may create a term minimally interpretable as base 8 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 produces the value 5001243627 which is minimally interpretable as base 8.
EXAMPLE
a(3) = 71 because 71 is the first number that can produce a sequence of three terms by repeated interpretation as a base 8 number: [71] (base-8) --> [57] (base-8) --> [47] (base-8) --> [39]. Since 39 cannot be minimally interpreted as a base 8 number, the sequence terminates with 47. a(1) = 17 because 17 is the first number that can be reduced once, yielding no further terms minimally interpretable as base 8.
CROSSREFS
KEYWORD
base,more,nonn
AUTHOR
Chuck Seggelin (seqfan(AT)plastereddragon.com), Jul 10 2008
EXTENSIONS
a(12)-a(13) from Giovanni Resta, Feb 23 2013
STATUS
approved