OFFSET
1,1
COMMENTS
For a given term n of this sequence, n-1 and n+1 are both squarefree k-almost primes for the same k. The sequence is thus the union of the averages (arithmetic means) of twin prime pairs (A014574), the averages of twin squarefree semiprime pairs, the averages of twin squarefree 3-almost prime pairs, ... (where "twin ... pairs" means the members of each pair differ by two). A subsequence of A280382 and of A280383.
LINKS
Rick L. Shepherd, Table of n, a(n) for n = 1..10000
EXAMPLE
MATHEMATICA
Select[Range@ 500, And[Times @@ First@ # == 1, SameQ @@ Last@ #] &@ Transpose@ Map[{Boole@ SquareFreeQ@ #, PrimeNu@ #} &, # + {-1, 1}] &] (* Michael De Vlieger, Jan 30 2017 *)
PROG
(PARI) IsInA280469(n) = n > 1 && issquarefree(n-1) && issquarefree(n+1) && omega(n-1) == omega(n+1)
CROSSREFS
KEYWORD
nonn
AUTHOR
Rick L. Shepherd, Jan 03 2017
STATUS
approved