A118305 Numbers k such that 3*k^k-1 is prime.
1, 2, 6, 16, 5436, 6238
Offset: 1
Programs
-
PARI
is(n)=ispseudoprime(3*n^n-1) \\ Charles R Greathouse IV, Jun 13 2017
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.
is(n)=ispseudoprime(3*n^n-1) \\ Charles R Greathouse IV, Jun 13 2017
Comments