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!)
A346959 Pentagonal pandigitals. 1
1348095672, 1370854926, 1394627850, 1438602957, 1627548930, 3197480265, 3281546907, 3896427150, 4687019352, 4852973160, 5169738420, 5329461870, 6281043795, 6931274805, 7938152640, 7981423065, 8347926501, 8706193245, 8735014926, 9120345876, 10492679835, 10697154832 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
FORMULA
Intersection of A000326 (pentagonal numbers) and A171102 (infinite pandigital numbers).
MATHEMATICA
p[n_] := n*(3*n - 1)/2; Select[p /@ Range[85000], Length @ DeleteDuplicates @ IntegerDigits[#] == 10 &] (* Amiram Eldar, Aug 13 2021 *)
PROG
(Sage)
A000326 = list(int(n*(3*n-1)/2) for n in range(0, 1000000))
def haspan(s): return any(len(set(s[i:i+10]))==10 for i in range(len(s)-9))
A346959 = list(elem for elem in A000326 if haspan(str(elem)))
CROSSREFS
Sequence in context: A213161 A260874 A251358 * A068746 A343078 A345010
KEYWORD
nonn,base,less
AUTHOR
Dumitru Damian, Aug 13 2021
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 July 13 13:53 EDT 2024. Contains 374284 sequences. (Running on oeis4.)