|
|
A135110
|
|
Positive numbers such that the digital sum base 2 and the digital sum base 10 are in a ratio of 2:10.
|
|
12
|
|
|
32, 69, 136, 168, 276, 389, 514, 546, 596, 640, 672, 785, 848, 1284, 1289, 1298, 1793, 1798, 1856, 1888, 2058, 2080, 2184, 2369, 2562, 2594, 2698, 2896, 3089, 3589, 4164, 4169, 4178, 4196, 4353, 4358, 4376, 4385, 4416, 4448, 4484, 4489, 4498, 4628, 4673
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
COMMENTS
|
Subsequence of A227793. - Michel Marcus, Sep 23 2013
|
|
LINKS
|
Harvey P. Dale, Table of n, a(n) for n = 1..1000
|
|
EXAMPLE
|
a(1)=32, since ds_2(32):ds_10(32)=1:5=2:10.
|
|
MATHEMATICA
|
Select[Range[5000], 5*Total[IntegerDigits[#, 2]]==Total[ IntegerDigits[ #]]&] (* Harvey P. Dale, Sep 14 2012 *)
|
|
PROG
|
(PARI) is(n)=sumdigits(n)/hammingweight(n)==5 \\ Charles R Greathouse IV, Sep 22 2013
|
|
CROSSREFS
|
Cf. A007953.
Sequence in context: A153981 A264589 A100017 * A228665 A101539 A106700
Adjacent sequences: A135107 A135108 A135109 * A135111 A135112 A135113
|
|
KEYWORD
|
nonn,base
|
|
AUTHOR
|
Hieronymus Fischer, Dec 24 2007
|
|
STATUS
|
approved
|
|
|
|