OFFSET
1,2
LINKS
David A. Corneth, Table of n, a(n) for n = 1..10000
PROG
(PARI) f(n, b, d)=#select(x->x==d, digits(n, b));
for(n=1, 110, if (f(n, 12, 0)==f(n, 12, 7), print1(n, ", "))); \\ Petros Hadjicostas, Jul 08 2020
(PARI) is(n) = {my(d = digits(n, 12), v = vector(12)); for(i = 1, #d, v[d[i]+1]++); v[1]==v[8]} \\ David A. Corneth, Jul 09 2020
CROSSREFS
KEYWORD
nonn,base,easy
AUTHOR
STATUS
approved