OFFSET
1,1
COMMENTS
Primes whose base 5 representation contains only zeros and 1's.
LINKS
Michael S. Branicky, Table of n, a(n) for n = 1..10000
PROG
(Python)
from sympy import isprime
def aupton(terms):
k, alst = 0, []
while len(alst) < terms:
k += 1
t = sum(5**i*int(di) for i, di in enumerate((bin(k)[2:])[::-1]))
if isprime(t): alst.append(t)
return alst
print(aupton(37)) # Michael S. Branicky, May 31 2021
CROSSREFS
KEYWORD
nonn
AUTHOR
Amarnath Murthy, Nov 19 2002
EXTENSIONS
More terms from Sascha Kurz, Jan 03 2003
a(36) and beyond from Michael S. Branicky, May 31 2021
STATUS
approved