login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

Least m such that both p|m and p+2|m+2 for twin prime pairs (p,p+2) (p=A001359).
0

%I #13 Aug 29 2024 23:34:02

%S 18,40,154,340,928,1804,3658,5254,10504,11770,19180,22648,32578,37054,

%T 39400,52210,57838,73168,79804,97654,121450,176818,187054,213904,

%U 273004,325468,360598,382540,412804,436258,656908,676504,686410,737020,778804

%N Least m such that both p|m and p+2|m+2 for twin prime pairs (p,p+2) (p=A001359).

%F a(n)=p*(p+3), with p=A001359.

%e For instance, (a(4), a(4)+2), i.e., (340=17*20, 342=19*18) is the smallest pair whose elements are respectively divisible by the 4th twin prime pair (17, 19).

%t lm[{a_,b_}]:=Module[{k=a+1},While[!Divisible[k+2,b]||!Divisible[k,a],k++];k]; lm/@Select[Partition[Prime[Range[200]],2,1],#[[2]]- #[[1]] == 2&] (* _Harvey P. Dale_, Jun 06 2021 *)

%K nonn

%O 1,1

%A _Lekraj Beedassy_, Sep 07 2004