login
A115989
Numbers k such that the average of primes p(k) and p(k+1) is a power of 3.
3
4, 22, 20700806, 166677978
OFFSET
1,1
FORMULA
a(n) = A000720(A115986(n)). - Jinyuan Wang, Feb 26 2020
a(n) = A055729(A115987(n)). - Jason Yuen, Apr 20 2024
EXAMPLE
p(20700806) = 387420479, p(20700806 + 1) = 387420499 and (387420479 + 387420499)/2 = 387420489 = 3^18, so 20700806 belongs to the sequence.
CROSSREFS
KEYWORD
nonn,more,hard
AUTHOR
Giovanni Resta, Feb 10 2006
STATUS
approved