This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.
%I A095786 #1 Jun 12 2004 03:00:00 %S A095786 18,1027,1028,1029,14745 %N A095786 Values of n for which A095777(n) is 17 (those terms which are expressible in decimal digits for bases 2 through 18, but not for base 19). %C A095786 The only term for all values of n up to 200000 which produces decimal digits for bases 2 through 19 is 19 itself. %e A095786 a(5)=14745 because 14745 when expressed in successive bases starting at 2 will produce its first non-decimal digit at base 19. Like so: 11100110011001, 202020010, 3212121, 432440, 152133, 60663, 34631, 22203, 14745, 10095, 8649, 6933, 5533, 4580, 3999, 3006, 2993. In base 19, 14745 is 22G1. %p A095786 S := []; for n from 1 to 15000 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=17 then S := [op(S), n]; fi; fi; od; S; %Y A095786 Cf. A095777. %K A095786 base,nonn %O A095786 1,1 %A A095786 Chuck Seggelin (seqfan(AT)plastereddragon.com), Jun 05 2004