cp's OEIS Frontend

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.

A364242 a(n) is the smallest positive integer such that a(n) and a(n)+2 are both products of n distinct prime factors.

This page as a plain text file.
%I A364242 #18 Aug 14 2023 16:29:40
%S A364242 3,33,663,18445,887313,84946015,3086525013,557027507463,
%T A364242 31110090768183,3404401335645583,609352762511672905
%N A364242 a(n) is the smallest positive integer such that a(n) and a(n)+2 are both products of n distinct prime factors.
%e A364242 a(2) = 33 = 3 * 11, a(2) + 2 = 35 = 5 * 7.
%e A364242 a(3) = 663 = 3 * 13 * 17, a(3) + 2 = 665 = 5 * 7 * 19.
%o A364242 (PARI) isok(k, n) = (omega(k)==n) && (omega(k+2)==n) && issquarefree(k) && issquarefree(k+2)
%o A364242 a(n) = my(k=1); while (!isok(k, n), k++); k; \\ _Michel Marcus_, Jul 16 2023
%Y A364242 Cf. A052215.
%Y A364242 Subsequence of A005117.
%K A364242 nonn,hard,more
%O A364242 1,1
%A A364242 _Tomek Czajka_, Jul 15 2023