Search: id:A110699 Results 1-1 of 1 results found. %I A110699 %S A110699 2,2,3,5,5,9,7,9,10,11,12,13,13,17,16,17,17,19,19,21,22,24,24,25,26,28, %T A110699 28,29,30,33,31,33,34,35,36,38,38,40,40,41,42,44,44,45,46,47,48,49,50, %U A110699 51,52,53,54,56,56,57,59,59,60,61,61,65,64,65,66,67,68,69,70,72,72,73 %N A110699 Binary length of the smallest prime with Hamming weight n (given by A061712). %C A110699 a(n)=n iff n belongs to A000043. %H A110699 T. D. Noe, Table of n, a(n) for n=1..1024 %F A110699 A110699(n) = n + A110700(n) %p A110699 with(combstruct); a:=proc(n) local m,is,s,t,r; if n=1 then return 2 fi; r:=+infinity; for m from 0 do is := iterstructs(Combination(n-2+m), size=n-2); while not finished(is) do s := nextstruct(is); t := 2^(n-1+m)+1+add(2^i, i=s); if isprime(t) then return n+m fi; od; od; return 0; end; %Y A110699 Cf. A000043, A061712, A110700. %Y A110699 Sequence in context: A028364 A011971 A060048 this_sequence A035537 A101779 A137756 %Y A110699 Adjacent sequences: A110696 A110697 A110698 this_sequence A110700 A110701 A110702 %K A110699 nonn %O A110699 1,1 %A A110699 Max Alekseyev (maxale(AT)gmail.com), Aug 03 2005 Search completed in 0.001 seconds