OFFSET
1,1
LINKS
Robert Israel, Table of n, a(n) for n = 1..10000
MAPLE
filter:= proc(n) local L, t;
L:= convert(n, base, 7);
t:= numboccur(0, L);
t=numboccur(1, L) and t>0
end proc:
select(filter, [$1..447]); # Robert Israel, Jul 18 2018
MATHEMATICA
Select[Range[500], DigitCount[#, 7, 0]==DigitCount[#, 7, 1]>0&] (* Harvey P. Dale, Jun 21 2019 *)
CROSSREFS
KEYWORD
nonn,base,easy
AUTHOR
STATUS
approved