OFFSET
1,1
EXAMPLE
a(5)=60 because 60 when expressed in successive bases starting at 2 will produce its first non-decimal digit at base 16. Like so: 111100, 2020, 330, 220, 140, 114, 74, 66, 60, 55, 50, 48, 44, 40. In base 16, 60 is 3C.
MAPLE
S := []; for n from 1 to 5000 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=14 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