login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A059802 Numbers n such that 5^n - 4^n is prime. 111

%I

%S 3,43,59,191,223,349,563,709,743,1663,5471,17707,19609,35449,36697,

%T 45259,91493,246497,265007,289937

%N Numbers n such that 5^n - 4^n is prime.

%C Some of the larger entries may only correspond to probable primes.

%C 5^1663 - 4^1663, a 1163-digit number, has been certified prime with Primo. - _Rick L. Shepherd_, Nov 13 2002

%C 4 more terms found by Predrag Minovic in 2004: 35449, 36697, 45259, 91493. Corresponding numbers of decimal digits are 24778, 25651, 31635, 63951. - _Alexander Adamchuk_, Dec 02 2006

%t Select[Range[1000], PrimeQ[5^# - 4^#] &] (* _Alonso del Arte_, Sep 09 2013 *)

%o (PARI) forprime(p=2,1e5,if(ispseudoprime(5^p-4^p),print1(p", "))) \\ _Charles R Greathouse IV_, Jun 10 2011

%Y Cf. A000043, A057468, A059801, A128335, etc.

%K nonn,hard

%O 1,1

%A _Mike Oakes_, Feb 23 2001

%E New term 246497 found by Jean-Louis Charton in 2008 corresponding to a probable prime with 172295 digits - _Jean-Louis Charton_, Sep 02 2009

%E New term a(19) = 265007 found by _Jean-Louis Charton_, Feb 19 2013

%E a(20) = 289937 found by _Jean-Louis Charton_, Mar 15 2013

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified August 13 06:22 EDT 2020. Contains 336442 sequences. (Running on oeis4.)