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

A333185
Numbers k such that k^k is the average of its nearest 2 primes.
1
OFFSET
1,1
FORMULA
A333184(a(n)) = 0.
A074966(a(n)) = A074967(a(n)).
EXAMPLE
Previous P k^k Next P
a(n) A098681(a(n)) A000312(a(n)) A098682(a(n))
2 3 4 5
6 46649 46656 46663
9 387420479 387420489 387420499
940 940^940-3063 940^940 940^940+3063
PROG
(PARI) isok(k) = if (k>1, my(x=k^k); precprime(x-1)+nextprime(x+1) == 2*x); \\ Michel Marcus, Mar 14 2020
KEYWORD
nonn,bref,hard,more
AUTHOR
Hugo Pfoertner, Mar 11 2020
STATUS
approved