This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.
%I A122985 #4 Jul 26 2019 16:34:37 %S A122985 9,27,25,25,9,55,15,33,25,49,15,77,21,39,49,25,21,95,25,69,25,49,27, %T A122985 49,33,35,35,55,33,121,35,57,49,49,39,85,45,63,49,49,45,185,49,65,49, %U A122985 55,51,125,55,77,55,77,57,119,63,65,65,85,63,203,65,77,85,85,69,91,75,77,77 %N A122985 Smallest composite number greater than n, relatively prime to n, such that a(n)-n is also composite. %t A122985 scn[n_]:=Module[{k=n+1},While[!CompositeQ[k]||!CoprimeQ[n,k] || !CompositeQ[ k-n],k++];k]; Array[scn,70] (* _Harvey P. Dale_, Jul 26 2019 *) %Y A122985 Equals A122984(n) + n. Cf. A096076. %K A122985 easy,nonn %O A122985 1,1 %A A122985 _Franklin T. Adams-Watters_, Sep 22 2006