ss={1, 2}; a=1; b=2; ia=IntegerDigits[a]; ib=IntegerDigits[b]; Do[ic=IntegerDigits[c]; isu=IntegerDigits[su=a+b+c]; If[Intersection[ic, ia]==Intersection[ic, ib]==Intersection[ic, isu]==Intersection[ia, isu]==Intersection[ib, isu]=={}, Print[{a, b, c, su}]; AppendTo[ss, c]; a=b; b=c; ia=ib; ib=ic], {c, 3, 100000}]; ss