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 42^k - 41^k is prime.
1

%I #24 Jul 04 2021 08:21:43

%S 2,3,5,47,67,103

%N Numbers k such that 42^k - 41^k is prime.

%C Terms greater than 1000 are often only strong pseudoprimes.

%C No further terms up to 5000. - _Harvey P. Dale_, Mar 13 2011

%C a(7) > 10^5. - _Robert Price_, Sep 21 2012

%t Select[Range[5000], PrimeQ[42^# - 41^#] &] (* _Harvey P. Dale_, Mar 13 2011 *)

%o (PARI) is(n)=ispseudoprime(42^n-41^n) \\ _Charles R Greathouse IV_, Jun 12 2017

%Y Cf. A000043, A057468, A059801, A059802, A062572-A062666.

%K nonn,hard,more

%O 1,1

%A _Mike Oakes_, May 18 2001, May 19 2001