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.

A103111 Smallest natural number m such that n^n^n + m is prime.

This page as a plain text file.
%I A103111 #7 Nov 25 2014 12:27:31
%S A103111 1,1,16,75,2994,96545
%N A103111 Smallest natural number m such that n^n^n + m is prime.
%e A103111 a(5)=2994 because 5^5^5 + 2994 is prime and 5^5^5 + k is composite for 0<k<2994.
%o A103111 (PARI) a(n)=(x->nextprime(x)-x)(n^n^n) \\ _Charles R Greathouse IV_, Nov 25 2014
%Y A103111 Cf. A103112, A074966, A074967.
%K A103111 hard,more,nonn
%O A103111 1,3
%A A103111 _Farideh Firoozbakht_, Mar 04 2005
%E A103111 a(6) from _Donovan Johnson_, Mar 06 2008