|
|
A024779
|
|
Every suffix is prime and contains no 0 digits in base 4 (written in base 4).
|
|
7
|
|
|
2, 3, 13, 23, 113, 223, 323, 1223, 2113, 3323, 21223, 32113, 33323, 233323, 321223, 333323
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
LINKS
|
|
|
PROG
|
(Python)
from sympy import isprime
def afull():
prime_strings, alst = list("23"), []
while len(prime_strings) > 0:
alst.extend(sorted(int(p) for p in prime_strings))
candidates = set(d+p for p in prime_strings for d in "123")
prime_strings = [c for c in candidates if isprime(int(c, 4))]
return alst
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,base,fini,full
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|