OFFSET
1,1
COMMENTS
The asymptotic density of this sequence is log_10(10/9) = 1 - log_10(9) = 0.045757... (A104140) (Kunoff, 1987). - Amiram Eldar, Jul 17 2020
LINKS
Chai Wah Wu, Table of n, a(n) for n = 1..10000
Sharon Kunoff, N! has the first digit property, The Fibonacci Quarterly, Vol. 25, No. 4 (1987), pp. 365-367.
FORMULA
A008905(a(n)) = 9. - Amiram Eldar, Jul 17 2020
EXAMPLE
96 is a term since 96! = 9.916779... * 10^149 has the initial digit 9.
MATHEMATICA
Select[ Range[ 900 ], IntegerDigits[ #! ] [ [1] ] == 9 & ]
PROG
(PARI) isok(n) = digits(n!)[1] == 9; \\ Michel Marcus, Feb 08 2017
CROSSREFS
KEYWORD
nonn,base
AUTHOR
EXTENSIONS
More terms from Robert G. Wilson v, Jan 03 2001
STATUS
approved