OFFSET
1,1
COMMENTS
All numbers n which are congruent to 0 (mod 5) have this characteristic.
EXAMPLE
19 is in the sequence since 19 and 5*19 = 95 and together they share the digit 9.
MATHEMATICA
fQ[n_] := Intersection[ IntegerDigits[ n], IntegerDigits[5 n]] != {} && Mod[n, 5] != 0; Select[ Range[ 100], fQ]
PROG
(PARI) isok(n) = #setintersect(Set(digits(n)), Set(digits(5*n))); \\ Michel Marcus, Apr 17 2014
CROSSREFS
KEYWORD
base,easy,nonn
AUTHOR
Robert G. Wilson v, Apr 16 2014
STATUS
approved