Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
A039223
Numbers whose base-12 representation has the same number of 1's and 5's.
0
0, 2, 3, 4, 6, 7, 8, 9, 10, 11, 17, 24, 26, 27, 28, 30, 31, 32, 33, 34, 35, 36, 38, 39, 40, 42, 43, 44, 45, 46, 47, 48, 50, 51, 52, 54, 55, 56, 57, 58, 59, 61, 72, 74, 75, 76, 78, 79, 80, 81, 82, 83, 84, 86, 87, 88, 90, 91, 92, 93, 94, 95, 96, 98, 99, 100, 102, 103, 104
OFFSET
1,2
PROG
(PARI) f(n, b, d) = #select(x->x==d, digits(n, b));
select(n->f(n, 12, 1)==f(n, 12, 5), [0..110]) \\ Joerg Arndt and Petros Hadjicostas, Jul 09 2020
CROSSREFS
Sequence in context: A014155 A263579 A166527 * A028392 A175970 A286689
KEYWORD
nonn,base,easy
STATUS
approved