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.

A364307 Numbers k such that k, k+1 and k+2 have exactly 2 distinct prime factors.

Original entry on oeis.org

20, 33, 34, 38, 44, 50, 54, 55, 56, 74, 75, 85, 86, 91, 92, 93, 94, 98, 115, 116, 117, 122, 133, 134, 141, 142, 143, 144, 145, 146, 158, 159, 160, 175, 176, 183, 187, 200, 201, 205, 206, 207, 212, 213, 214, 215, 216, 217, 224, 235, 247, 248, 295, 296
Offset: 1

Views

Author

R. J. Mathar, Jul 18 2023

Keywords

Examples

			44 = 2^2*11 has 2 distinct prime factors, and so has 45 = 3^2*5 and so has 46 = 2*23, so 44 is in the sequence.
		

Crossrefs

Subsequence of A006073 and of A074851.
Cf. A364308 (3 factors), A364309 (4 factors), A364266 (5 factors), A364265 (6 factors), A001221.
A039833 is a subsequence.

Programs

  • Mathematica
    q[n_] := q[n] = PrimeNu[n] == 2; Select[Range[300], q[#] && q[#+1] && q[#+2] &] (* Amiram Eldar, Oct 01 2024 *)

Formula

{k: A001221(k) = A001221(k+1) = A001221(k+2) = 2}.