A045526 Numbers k such that k! has initial digit '7'.
6, 56, 80, 156, 161, 170, 186, 200, 230, 238, 277, 288, 305, 307, 323, 325, 327, 344, 385, 410, 451, 454, 472, 475, 504, 532, 547, 551, 575, 592, 601, 615, 645, 661, 697, 710, 724, 731, 790, 800, 811, 822, 848
Offset: 1
Examples
6 is a term since 6! = 720 has the initial digit 7.
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.
- Index entries for sequences related to factorial numbers
Crossrefs
Programs
-
Mathematica
Select[ Range[ 900 ], IntegerDigits[ #! ] [[1]] == 7 & ]
-
PARI
isok(n) = digits(n!)[1] == 7; \\ Michel Marcus, Feb 08 2017
Formula
A008905(a(n)) = 7. - Amiram Eldar, Jul 17 2020
Comments