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

%I #10 Jul 16 2021 01:35:38

%S 2326,3909,5196,5402,7061,7616,8402,8496,8499,9048,13565,15194,15298,

%T 15841,19304,19429,20516,21669,23260,23572,23875,23936,24299,24772,

%U 24952,25182,25281,26139,26499,26602,26818,26832,27287,27433,27757

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

%e 19429^3 = 73(3417629058)9.

%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(30000) if haspan(str(m**3))]) # _Michael S. Branicky_, Feb 28 2021

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

%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 25 10:01 EDT 2024. Contains 371967 sequences. (Running on oeis4.)