a(n) is the number of n-digit numbers whose difference between the largest and smallest digits is equal to 4.
A367245
a(n) is the number of n-digit numbers whose difference between the largest and smallest digits is equal to 4.
Terms
- a(0) =0a(1) =11a(2) =135a(3) =1103a(4) =7551a(5) =46871a(6) =273735a(7) =1534943a(8) =8366031a(9) =44674151a(10) =234982935a(11) =1222071983a(12) =6301114911a(13) =32274971831a(14) =164471580135a(15) =834802180223
External references
- oeis: A367245