|
|
A053434
|
|
Primes with digits in alphabetical order (in English).
|
|
2
|
|
|
2, 3, 5, 7, 11, 13, 17, 41, 43, 47, 53, 59, 73, 83, 89, 97, 113, 163, 173, 433, 443, 449, 463, 491, 499, 541, 547, 557, 563, 577, 593, 599, 733, 773, 811, 853, 857, 859, 863, 877, 881, 883, 887, 911, 977, 991, 997, 1117, 1163, 1663, 1733, 1777, 4111, 4133, 4177
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
LINKS
|
|
|
PROG
|
(Python)
from sympy import isprime
from itertools import count, islice, combinations_with_replacement as cwr
def bgen(): # generator terms of A053432 not ending in 0 or 2
for d in count(1):
yield from sorted(int("".join(t)) for t in cwr("85491763", d))
def agen(): yield 2; yield from filter(isprime, bgen())
|
|
CROSSREFS
|
Intersection of primes and A053432.
|
|
KEYWORD
|
easy,nonn,word,base
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|