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.

A134985 Numbers k such that (k-1)^(k+1) - k^k is prime.

This page as a plain text file.
%I A134985 #11 Sep 05 2024 11:50:24
%S A134985 5,6,7,13,17,171,174,378,17641
%N A134985 Numbers k such that (k-1)^(k+1) - k^k is prime.
%C A134985 No more terms up to 10000. - _Rick L. Shepherd_, May 16 2008
%e A134985 12^14 - 13^13 = 981043357956611, which is prime, so 13 is in the list.
%t A134985 Select[Table[n,{n,5,400}],PrimeQ[(#-1)^(#+1)-#^#]&] (* _Vladimir Joseph Stephan Orlovsky_, Mar 03 2011*)
%K A134985 hard,more,nonn
%O A134985 1,1
%A A134985 _Carl R. White_, Feb 05 2008
%E A134985 a(9) from _Michael S. Branicky_, Sep 05 2024