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.

A100838 Numbers k such that k^k + 7 is prime.

This page as a plain text file.
%I A100838 #25 Jun 30 2024 10:44:01
%S A100838 2,4,6,32
%N A100838 Numbers k such that k^k + 7 is prime.
%C A100838 Here we interpret 0^0 as 1.
%C A100838 a(5) > 3000. - _Daniel Starodubtsev_, Aug 07 2019
%C A100838 a(5) > 17000. - _Michael S. Branicky_, Jun 29 2024
%t A100838 lst={};Do[p=n^n+7;If[PrimeQ[p],AppendTo[lst,n]],{n,2*5!}];lst (* _Vladimir Joseph Stephan Orlovsky_, Nov 01 2009 *)
%t A100838 Select[Range[35],PrimeQ[#^#+7]&] (* _Harvey P. Dale_, Oct 27 2018 *)
%o A100838 (PARI) f1(n,a) = for(x=0,n,y=x^x+a;if(ispseudoprime(y),print1(y",")))
%Y A100838 Cf. A100841 (corresponding primes).
%Y A100838 Cf. A100837, A100839.
%K A100838 hard,more,nonn
%O A100838 1,1
%A A100838 _Cino Hilliard_, Jan 07 2005