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!)
A254500 a(n) is the smallest nonnegative integer such that a(n)! contains a string of exactly n consecutive 5's. 10
0, 7, 17, 70, 111, 258, 689, 454, 7133, 15977, 82869, 111044, 536687, 384769, 2750561, 7063105 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
COMMENTS
a(14) > 1500000. - Jon E. Schoenfield, Mar 31 2015
LINKS
EXAMPLE
a(1) = 7 as 7! equals 5040, which contains '5' and 5 is the smallest integer for which the condition is met.
MATHEMATICA
A254450[n_] := Module[{m = 0},
If[n == 0, While[MemberQ[IntegerDigits[m!], 5], m++]; m,
t = Table[5, n];
While[! MemberQ[Split[IntegerDigits[m!]], t], m++]; m]];
Table[A254450[n], {n, 0, 13}] (* Robert Price, Mar 21 2019 *)
CROSSREFS
Sequence in context: A269239 A118431 A051809 * A242907 A034054 A120876
KEYWORD
nonn,more,base
AUTHOR
Martin Y. Champel, Jan 31 2015
EXTENSIONS
a(12)-a(13) from Jon E. Schoenfield, Feb 27 2015
a(0) prepended by Jon E. Schoenfield, Mar 01 2015
a(14)-a(15) from Bert Dobbelaere, Oct 29 2018
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 August 13 13:30 EDT 2024. Contains 375142 sequences. (Running on oeis4.)