login
A039018
Numbers whose base-6 representation has the same number of 0's and 3's.
1
1, 2, 4, 5, 7, 8, 10, 11, 13, 14, 16, 17, 18, 25, 26, 28, 29, 31, 32, 34, 35, 39, 43, 44, 46, 47, 49, 50, 52, 53, 54, 61, 62, 64, 65, 67, 68, 70, 71, 75, 79, 80, 82, 83, 85, 86, 88, 89, 90, 97, 98, 100, 101, 103, 104, 106, 107, 109, 110, 112, 113, 114, 120, 132, 138, 147
OFFSET
1,2
LINKS
MAPLE
filter:= proc(n) local L;
L:= convert(n, base, 6);
numboccur(0, L)=numboccur(3, L)
end proc:
select(filter, [$1..200]); # Robert Israel, May 30 2018
MATHEMATICA
Select[Range[200], DigitCount[#, 6, 0]==DigitCount[#, 6, 3]&] (* Harvey P. Dale, Feb 25 2015 *)
CROSSREFS
Cf. A007092 (numbers in base 6).
Sequence in context: A330116 A189784 A062005 * A284602 A286355 A292665
KEYWORD
nonn,base,easy
STATUS
approved