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!)
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

Table of n, a(n) for n=1..16.

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

print(afull()) # Michael S. Branicky, Apr 27 2022

CROSSREFS

Cf. A024780, A024781, A024782, A024783, A024784, A024785.

Sequence in context: A065723 A215134 A177746 * A286458 A087906 A029737

Adjacent sequences:  A024776 A024777 A024778 * A024780 A024781 A024782

KEYWORD

nonn,base,fini,full

AUTHOR

David W. Wilson

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 May 25 01:39 EDT 2022. Contains 354047 sequences. (Running on oeis4.)