login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
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

%I

%S 11,22,23,34,35,46,47,58,59,70,71,82,83,94,95,106,107,121,122,123,124,

%T 125,126,127,128,129,130,132,133,134,135,136,137,138,139,140,141,143,

%U 154,155,166,167,178,179,190,191,202,203,214,215,226,227,250,251,262

%N 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).

%e 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.

%p 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;

%Y Cf. A095777.

%K base,nonn

%O 1,1

%A Chuck Seggelin (seqfan(AT)plastereddragon.com), Jun 05 2004

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified November 29 12:24 EST 2021. Contains 349416 sequences. (Running on oeis4.)