login
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