login
A108191
Numbers n such that n and the sum of the digits of n have at least one digit in common.
1
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 19, 20, 30, 40, 50, 60, 70, 80, 90, 91, 100, 109, 118, 119, 127, 128, 129, 136, 137, 138, 139, 145, 146, 147, 148, 149, 154, 155, 156, 157, 158, 159, 163, 164, 165, 166, 167, 168, 169, 172, 173, 174, 175, 176, 177, 178, 179, 181
OFFSET
1,3
LINKS
EXAMPLE
Sum of digits of 19 is 10 (1+9=10); "19" and "10" share the digit "1".
MATHEMATICA
Select[Range[0, 200], Length[Intersection[IntegerDigits[#], IntegerDigits[ Total[ IntegerDigits[ #]]]]]>0&] (* Harvey P. Dale, Dec 16 2019 *)
CROSSREFS
Sequence in context: A119246 A280657 A117241 * A108193 A089583 A264979
KEYWORD
base,easy,nonn
AUTHOR
Eric Angelini, Jun 15 2005
STATUS
approved