OFFSET
1,2
EXAMPLE
a(36)=63 since 63 = 49 + 7 + 7 is written 120 in base 7 and 0 <= 2 >= 1.
CROSSREFS
KEYWORD
nonn,base
AUTHOR
EXTENSIONS
Corrected by Henry Bottomley, Jul 03 2000
STATUS
approved