# Greetings from The On-Line Encyclopedia of Integer Sequences! http://oeis.org/ Search: id:a160899 Showing 1-1 of 1 %I A160899 #11 Apr 03 2022 15:47:25 %S A160899 3,6,3,12,5,6,7,24,9,10,11,12,13,14,285,48,17,18,19,20,21,22,69,24,25, %T A160899 26,81,28,87,570,31,96,33,34,35,36,37,38,117,40,41,42,129,44,405,138, %U A160899 47,48,49,50,357,52,265,162,55,56,171,174,59,1140,61,62,4221,192,65,66,67 %N A160899 a(n) = the smallest positive multiple of n that has exactly a prime number of 1's in its binary representation. %H A160899 Harvey P. Dale, Table of n, a(n) for n = 1..1000 %t A160899 spm[n_]:=Module[{k=1},While[!PrimeQ[DigitCount[k*n,2,1]],k++];k*n]; Array[ spm,70] (* _Harvey P. Dale_, Apr 03 2022 *) %Y A160899 Cf. A000120, A160900. %K A160899 base,nonn %O A160899 1,1 %A A160899 _Leroy Quet_, May 29 2009 %E A160899 Extended by _Ray Chandler_, Jun 14 2009 # Content is available under The OEIS End-User License Agreement: http://oeis.org/LICENSE