login
Primes with distinct digits in alphabetical order (in English).
0

%I #21 Jun 03 2022 03:35:54

%S 2,3,5,7,13,17,41,43,47,53,59,73,83,89,97,163,173,463,491,541,547,563,

%T 593,853,857,859,863,4973,5413,5417,8513,8543,8563,8573,8597,8963,

%U 9173,54163,54917,54973,84163,84913,541763,549163,849763,854963,891763,5491763

%N Primes with distinct digits in alphabetical order (in English).

%C Largest term is 5491763.

%H Eric Weisstein's World of Mathematics, <a href="http://mathworld.wolfram.com/WordSequence.html">Word Sequence</a>

%o (Python)

%o from sympy import isprime

%o from itertools import combinations

%o afull = sorted(k for k in (int("".join(c)) for l in range(1, 10) for c in combinations("854917632", l)) if isprime(k))

%o print(afull) # _Michael S. Branicky_, Jun 02 2022

%Y Cf. A000040.

%Y Primes in A053433. Subsequence of A053432 and A053434.

%K easy,fini,full,nonn,word,base

%O 1,1

%A _G. L. Honaker, Jr._, Jan 10 2000

%E a(38)-a(46) from _Metin Sariyar_, Dec 13 2021

%E Missing term inserted by _Sean A. Irvine_, Jan 10 2022