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!)
A024780 Every suffix prime and no 0 digits in base 5 (written in base 5). 7
2, 3, 12, 23, 32, 43, 232, 243, 412, 423, 2232, 4412, 4423, 22232, 222232 (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 "1234")
prime_strings = [c for c in candidates if isprime(int(c, 5))]
return alst
print(afull()) # Michael S. Branicky, Apr 27 2022
CROSSREFS
Sequence in context: A061268 A122604 A282234 * A295366 A323120 A323121
KEYWORD
nonn,base,fini,full
AUTHOR
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 April 29 18:29 EDT 2024. Contains 372114 sequences. (Running on oeis4.)