login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A378018
Primes p which can be written as p = (A060735(k) +- next largest prime factor not in A060735(k)) for some k.
0
3, 5, 7, 11, 13, 17, 19, 23, 29, 37, 53, 67, 83, 97, 113, 127, 157, 173, 199, 409, 431, 619, 641, 829, 1039, 1061, 1249, 1459, 1481, 1669, 1879, 1901, 2089, 2111, 2297, 6917, 9227, 13873, 16183, 18493, 23087, 25423, 27733, 30013, 30047, 60077, 90073
OFFSET
1,1
COMMENTS
A060735 can be thought of as multiples of primorials, up to the next prime not found in the given primorial. This sequence adds or subtracts that next prime to produce new prime values.
31 is the first prime this does not produce (other than 2).
143 is the first nonprime value that this pattern produces (other than values < 3).
Conjectured to be infinite.
FORMULA
(not in order) primorial(i) * m +- prime(i+1) where 0<m<prime(i+1).
EXAMPLE
23 is a term because 23 = 2*3*5 - 7 and it is prime.
67 is a term because 67 = 2*2*3*5 + 7 and it is prime.
PROG
(PARI) rad(n) = factorback(factorint(n)[, 1]);
lista(nn) = my(a=1, list = List()); for (n=2, nn, my(f = factor(a), p = if (a==1, 2, nextprime(vecmax(f[, 1])+1))); if (isprime(a-p), listput(list, a-p)); if (isprime(a+p), listput(list, a+p)); a = a + rad(a); ); vecsort(Set(list)); \\ Michel Marcus, Dec 14 2024
CROSSREFS
Cf. A060735, subset of A000040, superset of A367182, superset of A038708.
Sequence in context: A363286 A120637 A278454 * A064534 A139758 A306084
KEYWORD
nonn,new
AUTHOR
Daniel D Gibson, Nov 14 2024
STATUS
approved