login
A095780
Values of n for which A095777(n) is 11 (those terms which are expressible in decimal digits for bases 2 through 12, but not for base 13).
0
12, 24, 25, 36, 37, 38, 49, 50, 51, 62, 63, 64, 75, 77, 88, 89, 90, 101, 102, 103, 144, 145, 146, 147, 148, 149, 150, 151, 152, 156, 157, 158, 159, 160, 161, 162, 163, 165, 168, 180, 181, 192, 193, 194, 205, 206, 207, 218, 220, 244, 245, 246, 257, 258, 259, 297
OFFSET
1,1
EXAMPLE
a(5)=37 because 37 when expressed in successive bases starting at 2 will produce its first non-decimal digit at base 13. Like so: 100101, 1101, 211, 221, 101, 52, 45, 41, 37, 34, 31. In base 13, 37 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=11 then S := [op(S), n]; fi; fi; od; S;
CROSSREFS
Cf. A095777.
Sequence in context: A040132 A296749 A297276 * A119588 A167994 A065303
KEYWORD
base,nonn
AUTHOR
Chuck Seggelin (seqfan(AT)plastereddragon.com), Jun 05 2004
STATUS
approved