a(n) is the number of n-digit numbers whose difference between the largest and smallest digits is equal to 7.

A367248

a(n) is the number of n-digit numbers whose difference between the largest and smallest digits is equal to 7.

Terms

    a(0) =0a(1) =5a(2) =111a(3) =1601a(4) =19095a(5) =204545a(6) =2045511a(7) =19508081a(8) =179752215a(9) =1613908385a(10) =14202967911a(11) =123028446161

External references