Let S be any integer in the range 3 <= S <= 17. Sequence has the property that a(n)*S is the sum of all positive integers whose decimal expansion has <= n digits and contains at most two distinct nonzero digits p and q such that p+q=S.

A328348

Let S be any integer in the range 3 <= S <= 17. Sequence has the property that a(n)*S is the sum of all positive integers whose decimal expansion has <= n digits and contains at most two distinct nonzero digits p and q such that p+q=S.

Terms

    a(0) =0a(1) =1a(2) =23a(3) =467a(4) =9355a(5) =187131a(6) =3742683a(7) =74853787a(8) =1497075995a(9) =29941520411a(10) =598830409243

External references