a(n) is number of n-digit nonnegative integers whose difference between the largest and smallest digits is equal to the mode of its digits.

A383307

a(n) is number of n-digit nonnegative integers whose difference between the largest and smallest digits is equal to the mode of its digits.

Terms

    a(0) =1a(1) =0a(2) =30a(3) =631a(4) =8318a(5) =84939a(6) =762621a(7) =6836799a(8) =66714966a(9) =698183347a(10) =7345264685a(11) =74862560359a(12) =738289921745

External references