login

Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.

A097972
Least m such that both p|m and p+2|m+2 for twin prime pairs (p,p+2) (p=A001359).
0
18, 40, 154, 340, 928, 1804, 3658, 5254, 10504, 11770, 19180, 22648, 32578, 37054, 39400, 52210, 57838, 73168, 79804, 97654, 121450, 176818, 187054, 213904, 273004, 325468, 360598, 382540, 412804, 436258, 656908, 676504, 686410, 737020, 778804
OFFSET
1,1
FORMULA
a(n)=p*(p+3), with p=A001359.
EXAMPLE
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).
MATHEMATICA
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 *)
CROSSREFS
Sequence in context: A341294 A231086 A285527 * A154284 A174264 A124792
KEYWORD
nonn
AUTHOR
Lekraj Beedassy, Sep 07 2004
STATUS
approved