OFFSET
1,1
LINKS
Reinhard Zumkeller, Table of n, a(n) for n = 1..10000
Eric Weisstein's World of Mathematics, Hexadecimal
Wikipedia, Hexadecimal
EXAMPLE
42 = 2*16^1 + 10*16^0 = '2A', therefore 42 is a term.
MATHEMATICA
Select[Range[200], IntegerLength[Max[IntegerDigits[#, 16]]]>1&] (* Harvey P. Dale, Jun 12 2020 *)
PROG
(Haskell)
import Data.List (unfoldr)
a102490 n = a102490_list !! (n-1)
a102490_list = filter (any (> 9) . unfoldr
(\x -> if x == 0 then Nothing else Just $ swap $ divMod x 16)) [0..]
-- Reinhard Zumkeller, Jun 27 2013
(Python)
def ok(n): return any(hd > '9' for hd in hex(n)[2:])
print(list(filter(ok, range(161)))) # Michael S. Branicky, Oct 11 2021
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Reinhard Zumkeller, Jan 12 2005
STATUS
approved