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!)
A173903 Numbers k such that both (2^k+1)^2-2 and (2^k-1)^2-2 are prime. 0

%I #25 Jan 22 2024 00:04:23

%S 2,3,12,15,18,21,27

%N Numbers k such that both (2^k+1)^2-2 and (2^k-1)^2-2 are prime.

%C a(8) > 9394. - _Max Z. Scialabba_, Jan 21 2024

%F A091513 INTERSECT A091515. - _R. J. Mathar_, Jul 06 2010

%t Select[Range[3000], PrimeQ[((2^# + 1)^2 - 2)]&&PrimeQ[((2^# - 1)^2 - 2)] &] (* _Vincenzo Librandi_, Aug 21 2014 *)

%o (Magma) [n: n in [1..400] | IsPrime((2^n-1)^2-2) and IsPrime((2^n+1)^2-2)]

%Y Cf. A091513, A091515.

%K nonn,hard,more

%O 1,1

%A _Vincenzo Librandi_, Mar 08 2010

%E Definition clarified by _Jon E. Schoenfield_, Jun 18 2010

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 11:03 EDT 2024. Contains 371967 sequences. (Running on oeis4.)