%I#30 2024年2月21日10:54:47
%S 2,3,5,17,43163277311347373461479571643673821853857881,
%电话977983101310931103111711223129714271433143914811523,
%电话:1607161316211823186118711873200832283123332393241724672549
%N素数p,使得p+A000120(p)也是素数,其中A000120=以2为基数的数字之和=汉明权重。
%H Anthony Sand,<a href=“/A243441/b243441.txt”>n表,n=1..1000的a(n)</a>
%e2+digitsum(2,base=2)=2+digittum(10)=2+1=3,这是素数。
%e3+数字(11)=3+2=5。
%e 5+数字(101)=5+2=7。
%e 17+数字(10001)=17+2=19。
%e 43+数字(101011)=43+4=47。
%t选择[Prime@Range@400,PrimeQ[#+Total@IntegerDigits[#,2]和](*_Michael De Vlieger_,2018年11月6日*)
%o(PARI)lista(lim)=表示质数(p=2,lim,if(isprime(p+hammingweight(p)),print1(p,“,”));\\_Michel Marcus,2014年6月10日
%Y参考A000120、A092391(n+A000120(n))、A048519(底座10的模拟)。
%Y参考A243442(p-A000120(p)的模拟)。
%K非n,碱基
%O 1,1号机组
%A Anthony Sand,2014年6月5日
%E Name编辑:M.F.Hasler_,2018年11月7日