OFFSET
1,1
COMMENTS
Difference between 3-almostprime(n) and 3-almostprime(n+2).
This is the 3-almost prime analog of what A113784 is for semiprimes and what A031131 is for primes. The minimum values in the sequence are 2 because we have, for example, the 3 consecutive 3-almost primes 170, 171, 172, so a(39) = A014612(41) - A014612(39) = 172 - 170 = 2. Equivalently, there are 2 consecutive 1 values of A114403 (3-almost prime gaps; first differences of A014612). This happens for elements of A113789 (numbers n such that n, n+1 and n+2 are 3-almost primes).
LINKS
Paolo Xausa, Table of n, a(n) for n = 1..10000
EXAMPLE
MATHEMATICA
#[[3 ;; ]] - #[[;; -3]] & [Select[Range[500], PrimeOmega[#] == 3 &]] (* Paolo Xausa, Oct 06 2025 *)
CROSSREFS
KEYWORD
easy,nonn,less
AUTHOR
Jonathan Vos Post, Jan 21 2006
EXTENSIONS
a(28) corrected by R. J. Mathar, Dec 22 2010
STATUS
approved
