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.

A078179 a(n) is the smallest prime of the form n^k + n - 1 with k >= 2.

This page as a plain text file.
%I A078179 #22 Aug 18 2025 14:25:26
%S A078179 5,11,19,29,41,349,71,89,109,131,20747,181,2177953337809371149,239,
%T A078179 271,83537,5849,379,419,461,2494357909,279863,599,15649,701,19709,811,
%U A078179 420707233300229,929,991
%N A078179 a(n) is the smallest prime of the form n^k + n - 1 with k >= 2.
%H A078179 Reinhard Zumkeller, <a href="/A078179/b078179.txt">Table of n, a(n) for n = 2..100</a>
%F A078179 a(n) = n^A078178(n) + n - 1.
%e A078179 349 = A000040(70) = 7^3+7-1 and 7^2+7-1 = 5*11, therefore a(7) = 349.
%o A078179 (Haskell)
%o A078179 a078179 n = n ^ (a078178 n) + n - 1  -- _Reinhard Zumkeller_, Jul 16 2014
%Y A078179 Cf. A078178, A076846.
%Y A078179 Cf. A010051, A002327.
%K A078179 nonn
%O A078179 2,1
%A A078179 _Reinhard Zumkeller_, Nov 20 2002
%E A078179 More terms from _Benoit Cloitre_, Nov 20 2002
%E A078179 Offset corrected by _Reinhard Zumkeller_, Jul 16 2014