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.

A089678 Numbers n such that n^n + n! + n^2 + 1 is prime.

This page as a plain text file.
%I A089678 #7 Jun 13 2017 12:17:42
%S A089678 2,3,5,1608
%N A089678 Numbers n such that n^n + n! + n^2 + 1 is prime.
%C A089678 The prime corresponding to a(4) is a 5156-digit prime.
%t A089678 v={};Do[If[PrimeQ[n^n + n! + n*n + n/n], v=Append[v, n];Print[v]], {n, 3250}]
%o A089678 (PARI) is(n)=ispseudoprime(n^n+n!+n^2+1) \\ _Charles R Greathouse IV_, Jun 13 2017
%Y A089678 Cf. A084914, A084852.
%K A089678 nonn
%O A089678 1,1
%A A089678 _Farideh Firoozbakht_, Jan 06 2004