OFFSET
1,2
LINKS
Robert Israel, Table of n, a(n) for n = 1..10000
MAPLE
filter:= proc(n) local L;
L:= convert(n, base, 9);
numboccur(1, L) = numboccur(6, L)
end proc:
select(filter, [$0..1000]); # Robert Israel, Mar 13 2018
PROG
(PARI) isok(n) = {my(d = digits(n, 9)); #select(x->(x==1), d) == #select(x->(x==6), d); } \\ Michel Marcus, Mar 13 2018
CROSSREFS
KEYWORD
nonn,base,easy
AUTHOR
STATUS
approved