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.

A100837 Numbers k such that k^k + 4 is prime.

This page as a plain text file.
%I A100837 #20 Jun 30 2024 10:43:43
%S A100837 0,1,3,7,43,2569
%N A100837 Numbers k such that k^k + 4 is prime.
%C A100837 From a post in [primeNumbers].
%C A100837 Here we interpret 0^0 as 1.
%C A100837 Next term exceeds 15000. - _Sean A. Irvine_, Sep 09 2009
%C A100837 Next term exceeds 25000. - _Michael S. Branicky_, Jun 28 2024
%t A100837 For[n = 1, n < 1000, n++, If[ PrimeQ[n^n + 4], Print[n]]] (* _Stefan Steinerberger_, Apr 02 2006 *)
%o A100837 (PARI) f1(n,a) = for(x=0,n,y=x^x+a;if(ispseudoprime(y),print1(y",")))
%Y A100837 Cf. A100840 (corresponding primes).
%Y A100837 Cf. A100838, A100839.
%K A100837 hard,more,nonn
%O A100837 1,3
%A A100837 _Cino Hilliard_, Jan 07 2005
%E A100837 a(6) from _Sean A. Irvine_, Sep 09 2009