login
Numbers k such that (sum of base-2 digits of k) = (sum of base-10 digits of k) = 10.
1

%I #12 Apr 14 2021 00:05:58

%S 3007,3070,4015,6013,6103,7102,8110,10171,10234,11071,11134,11215,

%T 11251,11260,11503,11710,12007,12025,12142,12205,12214,12250,13051,

%U 13231,14014,15031,15211,15310,16030,16102,16120,16300,20143,20206,20341

%N Numbers k such that (sum of base-2 digits of k) = (sum of base-10 digits of k) = 10.

%H Zak Seidov, <a href="/A152207/b152207.txt">Table of n, a (n) for n = 1 .. 1000</a>

%e a(1000) = 3002410_10 = 1011011101000000101010_2, with digit sums = 10 in both cases.

%o (PARI) isok(n) = (sumdigits(n) == 10) && (hammingweight(n) == 10); \\ _Michel Marcus_, Oct 15 2013

%Y Cf. A152206, A037308.

%K base,nonn

%O 1,1

%A _Zak Seidov_, Nov 29 2008