Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).
%I #16 Mar 01 2022 11:56:04
%S 2,3,4,7,8,9,18,23,32,36,41,52,54,55,56,60,68,74,80,82,87,93,107,115,
%T 140,142,146,154,162,165,170,189,227,238,253,262,263,269,276,285,300,
%U 304,305,306,308,310,315,317,332,339,350,361,363,367,371,384,386,390
%N Numbers k for which k^8+k^7-1 is prime.
%H Amiram Eldar, <a href="/A125965/b125965.txt">Table of n, a(n) for n = 1..10000</a>
%t Select[Range[500],PrimeQ[#^8+#^7-1]&] (* _Harvey P. Dale_, Feb 23 2011 *)
%o (PARI) select(ispseudoprime, vector(500,n,n^8+n^7-1)) \\ _Charles R Greathouse IV_, Feb 23 2011
%Y Cf. A000040, A045546, A125881-A125885, A125966-A125973.
%K nonn
%O 1,1
%A _Artur Jasinski_, Dec 14 2006