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.

A100840 Primes of the form k^k + 4.

This page as a plain text file.
%I A100840 #34 Jun 30 2024 11:20:42
%S A100840 5,31,823547,
%T A100840 17343773367030267519903781288812032158308062539012091953077767198995511
%N A100840 Primes of the form k^k + 4.
%C A100840 From _Daniel Starodubtsev_, Aug 03 2019: (Start)
%C A100840 a(5) = 2569^2569 + 4 (8760 digits long).
%C A100840 a(6) > 15000^15000 + 4. (End)
%t A100840 lst={};Do[p=n^n+4;If[PrimeQ[p],AppendTo[lst,p]],{n,5!}];lst (* _Vladimir Joseph Stephan Orlovsky_, Nov 01 2009 *)
%t A100840 Select[Table[n^n+4,{n,50}],PrimeQ] (* _Harvey P. Dale_, Oct 09 2020 *)
%o A100840 (PARI) f1(n) = for(x=1,n,y=x^x+4;if(ispseudoprime(y),print1(y", ")))
%Y A100840 Cf. A100837 (corresponding k).
%K A100840 hard,nonn
%O A100840 1,1
%A A100840 _Cino Hilliard_, Jan 07 2005