OFFSET
1,1
EXAMPLE
a(5)=35 because 35 when expressed in successive bases starting at 2 will produce its first non-decimal digit at base 12. Like so: 100011, 1022, 203, 120, 55, 50, 43, 38, 35, 32. In base 12, 35 is 2B.
MAPLE
S := []; for n from 1 to 1000 do; if 1>0 then; ct := 0; ok := true; b := 2; if (n>9) then; while ok=true do; L := convert(n, base, b); for e in L while ok=true do; if (e > 9) then ok:=false; fi; od; if ok=true then; ct := ct + 1; b := b + 1; fi; od; fi; if ct=10 then S := [op(S), n]; fi; fi; od; S;
CROSSREFS
KEYWORD
base,nonn
AUTHOR
Chuck Seggelin (seqfan(AT)plastereddragon.com), Jun 05 2004
STATUS
approved