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

A367247

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

Terms

    a(0) =0a(1) =7a(2) =131a(3) =1609a(4) =16415a(5) =150817a(6) =1296191a(7) =10641169a(8) =84520175a(9) =654958177a(10) =4980233951a(11) =37312922929a(12) =276288797135

External references