login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A217110 Number of pandigital numbers with n places. 2
0, 0, 0, 0, 0, 0, 0, 0, 0, 3265920, 179625600, 5568393600, 128432304000, 2458427811840, 41355201888000, 632788296940800, 9008498667168000, 121205358007493760, 1558813928579107200, 19326359087766057600, 232491479092720848000, 2727512837264447527680, 31331281164921975283200, 353549170783043484480000 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,10
COMMENTS
The number of numbers between 10^(n-1) and 10^n which contain all decimal digits 0..9.
The ratio a(n)/(10^n-10^(n-1)) indicates the relative proportion of pandigital n-digit numbers compared to all n-digit numbers. Since that ratio converges to the limit 1 for n->oo this can be expressed for large numbers as follows (in a slightly popular manner): "Almost all numbers contain all decimal digits 0..9".
Example: a(n)/(10^n-10^(n-1)) = 0.99973439517775... for n = 100; in this case 99.9734...% of all 100-digit numbers contain all digits 0..9. Conversely, only the tiny proportion of 0.00026560482224... (< 0.03%) lacks one digit. That's astonishing! Intuitively, this is not what one would expect. In fact, for smaller numbers (with which most people are faced normally) the relative portion of numbers which missing at least one digit is significantly larger. Of course, for n < 10 the portion is 100%, and even for numbers with n = 10 or 20 digits the relative proportion of numbers which do not contain all digits 0..9 is 99.96371...% or 78.52626...%, respectively. The least number of digits for which the pandigital numbers hold the majority is 27. Here, the proportion of numbers which do not contain all digits is 48.03664...%. So one could bet that a randomly chosen number with >= 27 digits contains all digits.
LINKS
FORMULA
a(n) = 9*9!*S2(n,10), where the S2(n,10) are the Stirling numbers of the second kind (cf. triangle A008277).
Asymptotic behavior: Limit_{n->oo} a(n)/10^n = 9/10.
G.f.: g(x) = 9*9!*x^10/(Product_{j=1..10} (1-jx)).
E.g.f. g(x) = (9/10) * (e^x - 1)^10.
EXAMPLE
a(k) = 0 for k < 10 since there are no pandigital numbers with < 10 places, trivially.
a(10) = 9*9! since the first digit can be in the range 1..9 and for the following 9 digits there are 9, 8, 7, ..., 1 possible values.
CROSSREFS
Sequence in context: A199634 A203987 A357755 * A217111 A036471 A206316
KEYWORD
nonn,base
AUTHOR
Hieronymus Fischer, Feb 13 2013
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified March 19 04:58 EDT 2024. Contains 370952 sequences. (Running on oeis4.)