ROSECODE 532
The number of pandigital number
In mathematics, a pandigital number is an integer that in a given base B has each digit {0,1,2,3,...,B-1} at least once.
Given two positive integers B and L, let
Now we define a new function
You are given
Find
Note: leading zeroes are not allowed.