OFFSET
1,1
COMMENTS
Also, the start of pairs of adjacent sphenic twins, i.e., a(n) = A215217(k) such that A215217(k+1) = A215217(k)+1. Therefore these triples might be called "sphenic triples". They form a subsequence of A242606. - M. F. Hasler, May 18 2014
Minimal difference is 4 which occurs at indices n = {316, 547, 566, 604, 666, 695, 821, 874, 979, ...}. - Zak Seidov, Jul 04 2020
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000 (terms 1..1000 from Harry J. Smith)
G. L. Honaker, Jr. and Chris K. Caldwell, Prime Curios! 1309.
FORMULA
a(n) == 1 (mod 4). - Zak Seidov, Mar 31 2020
EXAMPLE
a(5) = 3729 because it along with 3730 and 3731 are all the product of three distinct primes.
MATHEMATICA
f[n_]:=Last/@FactorInteger[n]=={1, 1, 1}; lst={}; Do[If[f[n]&&f[n+1]&&f[n+2], AppendTo[lst, n]], {n, 9!}]; lst (* Vladimir Joseph Stephan Orlovsky, Mar 04 2010 *)
SequencePosition[Table[If[PrimeNu[n]==PrimeOmega[n]==3, 1, 0], {n, 17000}], {1, 1, 1}][[;; , 1]] (* Harvey P. Dale, Feb 28 2025 *)
PROG
(PARI) A066509(n, show_all=0, a=2*3*5, s=[1, 1, 1]~)={until( !n-- || !a++, until(, factor(a+2)[, 2]!=s && (a+=3) && next; factor(a+1)[, 2]!=s && (a+=2) && next; factor(a)[, 2]==s && break; factor(a+3)[, 2]==s && a++ && break; a+=4); show_all && print1(a", ")); a} \\ M. F. Hasler, Jan 05 2013
(PARI) is3dp(n)=my(f=factor(n)); matsize(f)==[3, 2]&&vecmax(f[, 2])==1
list(lim)=my(v=List(), t); forprime(p=17, lim\15, forprime(q=5, min(p-1, lim\3), forprime(r=3, min(q-1, lim\(p*q)), t=p*q*r; if(t%4==1 && is3dp(t+1) && is3dp(t+2), listput(v, t))))); Set(v) \\ Charles R Greathouse IV, Jan 05 2013; updated Jan 22 2025
(PARI) list(lim)=my(v=List(), ct); forfactored(n=1309, lim\1+2, if(n[2][, 2]==[1, 1, 1]~, if(ct++==3, listput(v, n[1]-2)), ct=0)); Vec(v) \\ Charles R Greathouse IV, Aug 30 2022
CROSSREFS
KEYWORD
nonn
AUTHOR
Jason Earls, Jan 04 2002
EXTENSIONS
Definition clarified by Harvey P. Dale, Feb 28 2025
STATUS
approved
