login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A157354 Products of 3 distinct safe primes. 4
385, 805, 1265, 1645, 1771, 2065, 2585, 2905, 3245, 3619, 3745, 4543, 4565, 5405, 5845, 5885, 6265, 6391, 6785, 7567, 7945, 8239, 9185, 9205, 9499, 9545, 9845, 11891, 12145, 12305, 12485, 12565, 12859, 13363, 13405, 13783, 13865, 14465, 14927 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
Charles R Greathouse IV, Table of n, a(n) for n = 1..10000
EXAMPLE
385=5*7*11; 5,7 and 11 are safe primes.
MATHEMATICA
lst={}; Do[If[Plus@@Last/@FactorInteger[n]==3, a=Length[First/@FactorInteger[n]]; If[a==3, b=First/@FactorInteger[n]; c=b[[1]]; d=b[[2]]; e=b[[3]]; If[PrimeQ[(c-1)/2]&&PrimeQ[(d-1)/2]&&PrimeQ[(e-1)/2], AppendTo[lst, n]]]], {n, 7!}]; lst
PROG
(PARI) list(lim)=my(v=List(), P=select(p->isprime(p\2), primes([5, sqrtint(lim\5+1)-1])), p, q, t); for(i=1, #P, p=P[i]; if(p^3>=lim, break); for(j=i+1, #P, q=P[j]; t=p*q; forprime(r=q+4, lim\t, if(isprime(r\2), listput(v, r*t))))); Set(v); \\ Charles R Greathouse IV, Oct 14 2021
CROSSREFS
Subsequence of A007304.
Sequence in context: A152941 A229853 A317272 * A200525 A225711 A351696
KEYWORD
nonn,easy
AUTHOR
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 18 20:26 EDT 2024. Contains 371781 sequences. (Running on oeis4.)