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!)
A335737 a(n) is the smallest prime p such that 2p+3q and 3p+2q are n-almost primes, where q is next prime after p. 0
5, 47, 139, 2521, 77269, 631459, 6758117, 33059357, 7607209367, 173030234371, 152129921851 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
EXAMPLE
Both 2*5+3*7 = 31 and 3*5 +2*7 = 29 are primes.
Both 2*47+3*53 = 253 = 11*23 and 3*47+2*53 = 247 = 13*19 are semiprimes.
MATHEMATICA
m = 6; s = Table[0, {m}]; p = 2; c = 0; While[c < m, q = NextPrime[p]; If[(o = PrimeOmega[2 p + 3 q]) == PrimeOmega[ 3 p + 2 q] && o <= m && s[[o]] == 0, c++; s[[o]] = p]; p = q]; s (* Amiram Eldar, Jun 23 2020 *)
PROG
(PARI) for(n=1, 8, my(p=2); forprime(q=3, oo, my(pq=2*p+3*q, qp=3*p+2*q); if(bigomega(pq)==n, if(bigomega(qp)==n, print1(p, ", "); break)); p=q)) \\ Hugo Pfoertner, Jun 24 2020
CROSSREFS
Sequence in context: A056248 A126575 A229613 * A277607 A139889 A134327
KEYWORD
nonn,more
AUTHOR
Zak Seidov, Jun 20 2020
EXTENSIONS
a(10)-a(11) from Amiram Eldar, Jun 23 2020
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 24 22:17 EDT 2024. Contains 371964 sequences. (Running on oeis4.)