OFFSET
1,1
COMMENTS
All terms are even.
Dickson's conjecture implies that there are infinitely many terms, e.g. there should be infinitely many k such that p = 241 + 104533*k, q = 229 + 99330*k, and r = 107 + 46410*k are all prime, and then 210*p is a term (with 210*p = 2*3*5*7*p, 210*p-1 = 13*17*q, and 210*p+1 = 11*43*r). - Robert Israel, Nov 12 2024
LINKS
Robert Israel, Table of n, a(n) for n = 1..10000
EXAMPLE
50610 is a term because 50610=2*3*5*7*241 is the product of five distinct primes and 50609=13*17*229, 50611=11*43*107 are sphenic numbers.
52206 is a term because 52206=2*3*7*11*113 is the product of five distinct primes and 52205=5*53*197, 52207=17*37*83 are sphenic numbers.
MAPLE
filter:= proc(n) local F;
F:= ifactors(n)[2];
if F[.., 2] <> [1$5] then return false fi;
F:= ifactors(n-1)[2];
if F[.., 2] <> [1$3] then return false fi;
F:= ifactors(n+1)[2];
F[.., 2] = [1$3]
end proc:
select(filter, [seq(i, i=2..2*10^5, 4)]); # Robert Israel, Nov 12 2024
MATHEMATICA
SequencePosition[Map[#[[;; , 2]] &, FactorInteger[Range[200000]]], {{1, 1, 1}, {1, 1, 1, 1, 1}, {1, 1, 1}}][[;; , 1]] + 1 (* Amiram Eldar, Oct 11 2024 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Massimo Kofler, Oct 11 2024
STATUS
approved