The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A272366 Numbers n such that 5^n-4^(n+1) is prime. 0
7, 25, 29, 55, 75, 243, 345, 635, 899, 2025, 2105, 2295, 5057, 5155, 5209, 11115, 81743, 97615 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
a(19) > 10^5.
LINKS
EXAMPLE
7 is a member since 5^7 - 4^8 = 78125 - 65536 = 12589 which is a prime number.
MATHEMATICA
Select[Range[0, 100000], PrimeQ[5^# - 4^(# + 1)] &]
PROG
(PARI) is(n)=ispseudoprime(5^n-4^(n+1)) \\ Charles R Greathouse IV, Jun 13 2017
CROSSREFS
Sequence in context: A178370 A034125 A196013 * A327107 A075926 A368532
KEYWORD
nonn,more
AUTHOR
Robert Price, Apr 27 2016
STATUS
approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 21 13:22 EDT 2024. Contains 372736 sequences. (Running on oeis4.)