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!)
A115938 Numbers k such that k^k contains a pandigital substring. 5

%I #10 Jul 15 2021 10:17:20

%S 125,132,147,162,163,167,169,176,186,188,192,197,209,215,218,222,223,

%T 237,247,258,259,269,270,273,274,275,277,284,288,294,297,301,302,309,

%U 316,332,359,361,362,377,382,390,393,396,398,401,404,407,413,419,425

%N Numbers k such that k^k contains a pandigital substring.

%e 125^125 = 12994...59(7369285104)69...8125.

%o (Python)

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

%o print([m for m in range(500) if haspan(str(m**m))]) # _Michael S. Branicky_, Feb 28 2021

%Y Cf. A115933, A115934, A115935, A115936, A115937.

%K nonn,base

%O 1,1

%A _Giovanni Resta_, Feb 06 2006

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 18 20:26 EDT 2024. Contains 371781 sequences. (Running on oeis4.)