OFFSET
1,1
LINKS
Michael S. Branicky, Table of n, a(n) for n = 1..10000
Eric Weisstein's World of Mathematics, Word Sequence
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())
print(list(islice(agen(), 55))) # Michael S. Branicky, Aug 17 2022
CROSSREFS
KEYWORD
easy,nonn,word,base
AUTHOR
G. L. Honaker, Jr., Jan 10 2000
STATUS
approved