login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

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
OFFSET
1,3
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
Sequence in context: A299690 A318276 A274126 * A083158 A254956 A061013
KEYWORD
base,easy,nonn,less
AUTHOR
Eric Angelini, Jun 15 2005
EXTENSIONS
Edited, corrected and extended by Stefan Steinerberger, Jun 11 2007
STATUS
approved