OFFSET
1,1
MATHEMATICA
Select[Range[400], DigitCount[#, 5, 0]==DigitCount[#, 5, 2]>0&] (* Harvey P. Dale, Oct 03 2014 *)
PROG
(Python)
from sympy.ntheory import count_digits
def ok(n): c = count_digits(n, b=5); return c[0] == c[2] > 0
print([k for k in range(341) if ok(k)]) # Michael S. Branicky, Oct 27 2021
CROSSREFS
KEYWORD
nonn,base,easy
AUTHOR
STATUS
approved