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.
%I A095304 #10 Aug 03 2014 14:01:21 %S A095304 2,2,727,79,241,727,823541,5764799,19681,16679880978199,31381059607, %T A095304 13841287199,42052983462257057,6103515623,4747561509941, %U A095304 28644003124274380508351359,98526125335693359373,136753052840548005895349735207879,22168378200531005859373 %N A095304 Smallest prime of the form k^n-2. %H A095304 Vincenzo Librandi, <a href="/A095304/b095304.txt">Table of n, a(n) for n = 1..200</a> %e A095304 a(7)=7^7-2=823541 is prime whereas 3^7-2=2185 and 5^7-2=78123 are composite. %t A095304 Table[k = 2; While[p = k^n - 2; ! PrimeQ[p], k++]; p, {n, 20}] (* _T. D. Noe_, Apr 03 2012 *) %Y A095304 Cf. A095303 (smallest k such that k^n-2 is prime), A087576 (smallest k such that k^n+2 is prime), A095302 (corresponding primes). %K A095304 nonn %O A095304 1,1 %A A095304 _Hugo Pfoertner_, Jun 01 2004 %E A095304 a(2) corrected by _Zak Seidov_, Apr 03 2012