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!)
A082387 Numbers k such that (5^k + 2^k)/7 is prime. 25
3, 17, 19, 47, 101, 1709, 2539, 5591, 6037, 8011, 19373, 26489, 27427 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
Next term > 35000. - Giovanni Resta, Apr 06 2006
For (2^k + 5^k)/7 to be a prime, k must be a prime too. - Alexander Adamchuk, Feb 06 2007
No other terms less than 100000. - Robert Price, Apr 17 2012
Some of the results were computed using the PrimeFormGW (PFGW) primality-testing program. - Hugo Pfoertner, Nov 14 2019
LINKS
EXAMPLE
a(1)=3 because (5^3 + 2^3)/7 = (125 + 8)/7 = 19 is prime.
MATHEMATICA
Do[f=(2^n+5^n)/7; If[PrimeQ[f], Print[{n, f}]], {n, 1, 35000}] (* Alexander Adamchuk, Feb 06 2007 *)
Select[Range[0, 10000], PrimeQ[(5^# + 2^#)/7] &] (* G. C. Greubel, Nov 02 2018 *)
PROG
(PARI) is(n)=ispseudoprime((5^n + 2^n)/7) \\ Charles R Greathouse IV, Apr 28 2015
(Magma) [n : n in [1..10000] | IsPrime((5^n+2^n) div 7)]; // G. C. Greubel, Nov 02 2018
CROSSREFS
Cf. A057469 ((2^k + 3^k)/5 is prime).
Sequence in context: A103088 A226925 A259772 * A032923 A018750 A177208
KEYWORD
more,nonn
AUTHOR
Hugo Pfoertner, May 22 2003
EXTENSIONS
More terms from Hugo Pfoertner, Jun 23 2003
More terms from Giovanni Resta, Apr 06 2006
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 19:35 EDT 2024. Contains 372738 sequences. (Running on oeis4.)