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!)
A254502 a(n) is the smallest nonnegative integer such that a(n)! contains a string of exactly n consecutive 7's. 10

%I #33 Mar 21 2019 13:31:56

%S 0,6,31,48,22,599,1102,5280,4667,1753,48861,150336,223254,644487,

%T 7016773,9588848

%N a(n) is the smallest nonnegative integer such that a(n)! contains a string of exactly n consecutive 7's.

%e a(1) = 6 since 6! equals 720, which contains '7'.

%t A254452[n_] := Module[{m = 0},

%t If[n == 0, While[MemberQ[IntegerDigits[m!], 7], m++]; m,

%t t = Table[7, n];

%t While[! MemberQ[Split[IntegerDigits[m!]], t], m++]; m]];

%t Table[A254452[n], {n, 0, 14}] (* _Robert Price_, Mar 21 2019 *)

%Y Cf. A254042, A254447, A254448, A254449, A254500, A254501, A254716, A254717.

%K nonn,base,more

%O 0,2

%A _Martin Y. Champel_, Jan 31 2015

%E a(11), a(12) from _Jon E. Schoenfield_, Feb 21 2015

%E a(0) prepended by _Jon E. Schoenfield_, Mar 01 2015

%E a(13) from _Jon E. Schoenfield_, Mar 06 2015

%E a(14)-a(15) from _Bert Dobbelaere_, Oct 29 2018

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 April 23 10:13 EDT 2024. Contains 371905 sequences. (Running on oeis4.)