|
|
A125290
|
|
Numbers with at least two distinct digits in decimal representation, none of which is 0.
|
|
4
|
|
|
12, 13, 14, 15, 16, 17, 18, 19, 21, 23, 24, 25, 26, 27, 28, 29, 31, 32, 34, 35, 36, 37, 38, 39, 41, 42, 43, 45, 46, 47, 48, 49, 51, 52, 53, 54, 56, 57, 58, 59, 61, 62, 63, 64, 65, 67, 68, 69, 71, 72, 73, 74, 75, 76, 78, 79, 81, 82, 83, 84, 85, 86, 87, 89, 91, 92, 93, 94, 95, 96, 97, 98, 112, 113, 114, 115, 116, 117, 118, 119, 121, 122, 123
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
COMMENTS
|
Also numbers having at least two partitions into digit values of their decimal representations: A061827(a(n)) > 1.
|
|
LINKS
|
|
|
FORMULA
|
|
|
MATHEMATICA
|
Select[Range[100], Length[Union[Select[IntegerDigits[#], #!=0&]]]>1&] (* Harvey P. Dale, May 19 2018 *)
|
|
PROG
|
(Haskell)
a125290 n = a125290_list !! (n-1)
a125290_list = filter ((> 1) . a043537) a052382_list
(Python)
def ok(n): s = set(str(n)); return len(s) >= 2 and "0" not in s
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,base,easy
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|