login

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”).

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

%I #19 Nov 04 2024 18:33:04

%S 3,5,6,9,15,87,2323,13733

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

%C a(7) > 2000.

%C a(8) > 5000. - _Daniel Suteu_, Jul 25 2019

%C a(8) > 10000. - _Michael S. Branicky_, Apr 01 2023

%o (PARI) for(n=1,100,my(x=n^(n+1)+n-1);if(isprime(x),print1(n,", ")))

%Y Cf. A155499, A268987.

%K nonn,more,hard

%O 1,1

%A _Hugo Pfoertner_, Jul 23 2019

%E a(7) from _Daniel Suteu_, Jul 25 2019

%E a(8) from _Michael S. Branicky_, Nov 04 2024