login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A102488 Numbers in base-12 representation that cannot be written with decimal digits. 5

%I #13 Oct 20 2020 15:55:00

%S 10,11,22,23,34,35,46,47,58,59,70,71,82,83,94,95,106,107,118,119,120,

%T 121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,

%U 138,139,140,141,142,143,154,155,166,167,178,179,190,191,202,203,214

%N Numbers in base-12 representation that cannot be written with decimal digits.

%H Reinhard Zumkeller, <a href="/A102488/b102488.txt">Table of n, a(n) for n = 1..10000</a>

%H Eric Weisstein's World of Mathematics, <a href="http://mathworld.wolfram.com/Duodecimal.html">Duodecimal</a>

%H Wikipedia, <a href="http://en.wikipedia.org/wiki/Duodecimal">Duodecimal</a>

%e 143 = 11*12^1 + 11*12^0 = 'BB', therefore 143 is a term.

%t Select[Range[250],Max[IntegerDigits[#,12]]>9&] (* _Harvey P. Dale_, Oct 20 2020 *)

%o (Haskell)

%o import Data.List (unfoldr)

%o a102488 n = a102488_list !! (n-1)

%o a102488_list = filter (any (> 9) . unfoldr (\x ->

%o if x == 0 then Nothing else Just $ swap $ divMod x 12)) [1..]

%o -- _Reinhard Zumkeller_, Apr 18 2011

%Y Complement of A102487; A102490, A102492, A102494.

%K nonn,base

%O 1,1

%A _Reinhard Zumkeller_, Jan 12 2005

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 25 07:07 EDT 2024. Contains 371964 sequences. (Running on oeis4.)