cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A333185 Numbers k such that k^k is the average of its nearest 2 primes.

This page as a plain text file.
%I A333185 #15 Mar 14 2020 05:05:57
%S A333185 2,6,9,940
%N A333185 Numbers k such that k^k is the average of its nearest 2 primes.
%F A333185 A333184(a(n)) = 0.
%F A333185 A074966(a(n)) = A074967(a(n)).
%e A333185           Previous P         k^k           Next P
%e A333185   a(n)  A098681(a(n))  A000312(a(n))  A098682(a(n))
%e A333185     2               3              4              5
%e A333185     6           46649          46656          46663
%e A333185     9       387420479      387420489      387420499
%e A333185   940    940^940-3063        940^940   940^940+3063
%o A333185 (PARI) isok(k) = if (k>1, my(x=k^k); precprime(x-1)+nextprime(x+1) == 2*x); \\ _Michel Marcus_, Mar 14 2020
%Y A333185 Cf. A000312, A074966, A074967, A098681, A098682, A161503, A333184.
%K A333185 nonn,bref,hard,more
%O A333185 1,1
%A A333185 _Hugo Pfoertner_, Mar 11 2020