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!)
A115936 Numbers k such that k! contains a pandigital substring. 5
53, 67, 78, 105, 106, 114, 156, 160, 161, 164, 192, 205, 215, 220, 222, 225, 236, 243, 251, 257, 268, 278, 279, 282, 287, 306, 320, 338, 343, 345, 353, 367, 377, 386, 395, 398, 408, 409, 420, 423, 434, 443, 444, 448, 451, 455, 458, 459, 463, 467, 468, 469 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

LINKS

Table of n, a(n) for n=1..52.

EXAMPLE

53! = 42748832840600255(6429801375)3389399649690343788366813724672000000000000.

MATHEMATICA

Select[Range[500], Count[Sort/@Partition[IntegerDigits[#!], 10, 1], Range[ 0, 9]]>0&] (* Harvey P. Dale, May 23 2017 *)

PROG

(Python)

from math import factorial

def haspan(s): return any(len(set(s[i:i+10]))==10 for i in range(len(s)-9))

print([m for m in range(500) if haspan(str(factorial(m)))]) # Michael S. Branicky, Feb 28 2021

CROSSREFS

Cf. A115933, A115934, A115935, A115937, A115938.

Sequence in context: A097415 A061946 A039531 * A182571 A034965 A341662

Adjacent sequences:  A115933 A115934 A115935 * A115937 A115938 A115939

KEYWORD

nonn,base

AUTHOR

Giovanni Resta, Feb 06 2006

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 September 29 07:42 EDT 2022. Contains 357090 sequences. (Running on oeis4.)