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.

Original entry on oeis.org

2, 6, 9, 940
Offset: 1

Views

Author

Hugo Pfoertner, Mar 11 2020

Keywords

Examples

			          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
		

Crossrefs

Programs

  • PARI
    isok(k) = if (k>1, my(x=k^k); precprime(x-1)+nextprime(x+1) == 2*x); \\ Michel Marcus, Mar 14 2020

Formula

A333184(a(n)) = 0.
A074966(a(n)) = A074967(a(n)).