OFFSET
1,1
COMMENTS
"Quadruprimes" or "4-almost primes" that keep that property when incremented by 2. This sequence is to 4 as 3 is to A180117, as A092207 is to 2, and as A001359 is to 1. That is, this sequence is the 4th row of the infinite array A[k,n] = n-th natural number m such that m and m+2 are both divisible by exactly k primes (counted with multiplicity). The first row is the lesser of twin primes. The second row is the sequence such that m and m+2 are both semiprimes.
LINKS
Charles R Greathouse IV, Table of n, a(n) for n = 1..10000
FORMULA
EXAMPLE
a(1) = 54 because 54 = 2 * 3^3 is divisible by exactly 4 primes (counted with multiplicity), and so is 54+2 = 56 = 2^3 * 7.
MATHEMATICA
SequencePosition[PrimeOmega[Range[1500]], {4, _, 4}][[;; , 1]] (* Harvey P. Dale, Jan 14 2024 *)
PROG
(PARI) is(n)=bigomega(n)==4 && bigomega(n+2)==4 \\ Charles R Greathouse IV, Jan 31 2017
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Jonathan Vos Post, Aug 12 2010
EXTENSIONS
More terms from R. J. Mathar, Aug 13 2010
STATUS
approved