login
The OEIS is supported bythe many generous donors to the OEIS Foundation.

Logo
Hints
(Greetings fromThe On-Line Encyclopedia of Integer Sequences!)
A091515 Numbers n such that (2^n - 1)^2 - 2 = 4^n - 2^(n+1) - 1 is prime. 17
2, 3, 4, 6, 7, 10, 12, 15, 18, 19, 21, 25, 27, 55, 129, 132, 159, 171, 175, 315, 324, 358, 393, 435, 786, 1459, 1707, 2923, 6462, 14289, 39012, 51637, 100224, 108127, 110953, 175749, 185580, 226749, 248949, 253987, 520363, 653490, 688042, 695631 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
Eric Weisstein's World of Mathematics,Near-Square Prime
Eric Weisstein's World of Mathematics,Integer Sequence Primes
MATHEMATICA
lst={}; Do[p=(2^n-1)^2-2; If[PrimeQ[p], AppendTo[lst, n]], {n, 7!}]; lst (*Vladimir Joseph Stephan Orlovsky,Jan 27 2009 *)
PROG
(PARI) is(n)=ispseudoprime((2^n - 1)^2 - 2) \\Charles R Greathouse IV,Feb 19 2016
CROSSREFS
KEYWORD
nonn,hard
AUTHOR
Eric W. Weisstein,Jan 17 2004
EXTENSIONS
More terms from Pab Ter (pabrlos(AT)yahoo.com), May 25 2004
a(36)=175749 from Cletus Emmanuel (cemmanu(AT)yahoo.com), Oct 08 2004
a(37)=185580 from Cletus Emmanuel (cemmanu(AT)yahoo.com), Nov 03 2004
Edited byRay Chandler,Nov 15 2004
a(38)=226749 fromSteven Harvey,Jan 11 2005 and subsequently confirmed as next term
a(39) fromEric W. Weisstein,Mar 31 2006
a(40) = 253987 from Cletus Emmanuel (cemmanu(AT)yahoo.com), May 03 2007
a(41) = 520363 fromEric W. Weisstein,Jun 08 2016 (computed by Mark Rodenkirch)
a(42) = 653490 fromEric W. Weisstein,Jun 15 2016 (computed by Mark Rodenkirch)
a(43) = 688042 fromMark Rodenkirch,Jul 05 2016
a(44) = 695631 fromMark Rodenkirch,Jul 16 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 byThe OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified September 5 00:56 EDT 2024. Contains 375685 sequences. (Running on oeis4.)