login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A095779
Values of n for which A095777(n) is 10 (those terms which are expressible in decimal digits for bases 2 through 11, but not for base 12).
0
11, 22, 23, 34, 35, 46, 47, 58, 59, 70, 71, 82, 83, 94, 95, 106, 107, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 143, 154, 155, 166, 167, 178, 179, 190, 191, 202, 203, 214, 215, 226, 227, 250, 251, 262
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
Cf. A095777.
Sequence in context: A166713 A297273 A296746 * A062055 A332516 A066500
KEYWORD
base,nonn
AUTHOR
Chuck Seggelin (seqfan(AT)plastereddragon.com), Jun 05 2004
STATUS
approved