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”).

A129241
Balanced primes q such that p = (r+q+s-1)/2 is a balanced prime, where r, q, s are consecutive primes.
2
104161, 169313, 449381, 751753, 857321, 915029, 937789, 976501, 981049, 986581, 1138901, 1159889, 1219469, 1370921, 1488749, 1881949, 1903289, 1980073, 2246129, 2329949, 2356609, 2422093, 2514389, 2602429, 2752921, 2857369
OFFSET
1,1
COMMENTS
The primes p arising here are in A129242.
Subsequence of A129190, where q need not be balanced.
EXAMPLE
104149, 104161, 104173 are consecutive primes and 104161 = A006562(446) is a balanced prime (distance 12). (104149+104161+104173-1)/2 = 156241 = A006562(629) is a balanced prime, it has distance 12 to the preceding prime 156229 and to the next prime 156253. Hence 104161 is a term.
PROG
(Magma) [ q: q in PrimesInInterval(3, 2900000) | r+s eq 2*q and IsPrime(p) and PreviousPrime(p)+NextPrime(p) eq 2*p where p is (r+q+s-1) div 2 where r is PreviousPrime(q) where s is NextPrime(q) ];
CROSSREFS
Cf. A006562 (balanced primes), A129190, A129242.
Sequence in context: A205260 A076761 A236007 * A290535 A253709 A235005
KEYWORD
nonn
AUTHOR
Klaus Brockhaus, Apr 05 2007
STATUS
approved