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!)
A045527 Numbers k such that k! has initial digit '8'. 18
14, 29, 31, 33, 40, 52, 60, 65, 71, 79, 121, 131, 145, 151, 246, 251, 256, 286, 303, 329, 346, 357, 373, 423, 434, 448, 478, 494, 543, 579, 610, 650, 678, 684, 703, 738, 746, 754, 771, 780, 810, 834, 847 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
The asymptotic density of this sequence is log_10(9/8) = 0.051152... (Kunoff, 1987). - Amiram Eldar, Jul 17 2020
LINKS
Sharon Kunoff, N! has the first digit property, The Fibonacci Quarterly, Vol. 25, No. 4 (1987), pp. 365-367.
FORMULA
A008905(a(n)) = 8. - Amiram Eldar, Jul 17 2020
EXAMPLE
14 is a term since 14! = 87178291200 has the initial digit 8.
MATHEMATICA
Select[ Range[ 900 ], IntegerDigits[ #! ] [ [1] ] == 8 & ]
PROG
(PARI) isok(n) = digits(n!)[1] == 8; \\ Michel Marcus, Feb 08 2017
CROSSREFS
For factorials with initial digit d (1 <= d <= 9) see A045509, A045510, A045511, A045516, A045517, A045518, A282021, A045519; A045520, A045521, A045522, A045523, A045524, A045525, A045526, A045527, A045528, A045529. See also A000142, A008905.
Sequence in context: A325728 A305662 A174070 * A353197 A306212 A041384
KEYWORD
nonn,base
AUTHOR
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 May 2 15:15 EDT 2024. Contains 372197 sequences. (Running on oeis4.)