A333431 Numbers k such that k! has a factorial number of decimal digits.
0, 1, 2, 3, 4, 9, 24, 342, 11158, 145435633325318659
Offset: 1
Examples
9 is in the sequence since 9! = 362880 which has 6 decimal digits and 6 = 3!.
Links
- Vaclav Kotesovec, a(11)-a(14)
Programs
-
Mathematica
f = k = 1; lst = {0}; While[k < 12000, f *= k; If[ MemberQ[{1, 2, 6, 24, 120, 720, 5040, 40320, 362880}, IntegerLength@ f], AppendTo[lst, k]]; k++]; lst
Extensions
a(10) from Giovanni Resta, Mar 21 2020
a(11)-a(12) from Vaclav Kotesovec, Mar 21 2020
a(13)-a(14) from Vaclav Kotesovec, Mar 22 2020
Comments