|
|
A108194
|
|
Numbers n such that the sum of the digits and the product of the digits have at least one common digit.
|
|
0
|
|
|
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 22, 28, 29, 37, 39, 48, 49, 59, 68, 69, 73, 77, 78, 79, 82, 84, 86, 87, 88, 89, 92, 93, 94, 95, 96, 97, 98, 99, 109, 123, 127, 128, 129, 132, 136, 137, 138, 145, 147, 148, 154, 157, 158, 159, 163, 166, 167, 172
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,3
|
|
LINKS
|
|
|
EXAMPLE
|
59 is in the sequence because 5+9=14 and 5*9=45 have the common digit 4.
|
|
MATHEMATICA
|
Select[Range[0, 240], Length[Intersection[IntegerDigits[Plus @@ IntegerDigits[ # ]], IntegerDigits[Times @@ IntegerDigits[ # ]]]] > 0 &]
|
|
CROSSREFS
|
|
|
KEYWORD
|
base,easy,nonn,less
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|