OFFSET
1,1
PROG
(Python)
from sympy.ntheory import count_digits
def ok(n): c = count_digits(n, b=5); return c[0] == c[2] == 1
print([k for k in range(354) if ok(k)]) # Michael S. Branicky, Oct 27 2021
CROSSREFS
KEYWORD
nonn,base
AUTHOR
STATUS
approved