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!)
A138596 Numbers n such that 2^(2*n-25)-25 is prime. 0
13, 14, 15, 16, 17, 19, 29, 31, 41, 44, 59, 76, 77, 95, 107, 197 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
EXAMPLE
2^(2*16-25)-25=103, 2^(2*17-25)-25=487, 2^(2*19-25)-25=8167, ...
MATHEMATICA
q=25; For[i=q, i<=q, a={}; Do[x=2^(2*n-i)-i; If[PrimeQ[x], AppendTo[a, n]], {n, 10^2}]; Print["2^(2*n-", i, ")-", i, " ", a]; i=i+2]
PROG
(PARI) is(n)=isprime(2^(2*n-25)-25) \\ Charles R Greathouse IV, Jun 13 2017
CROSSREFS
Sequence in context: A296745 A178402 A132580 * A293831 A118140 A108854
KEYWORD
nonn,easy
AUTHOR
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 April 25 07:07 EDT 2024. Contains 371964 sequences. (Running on oeis4.)