login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A316360 Numbers k such that (2^k-2)^2-3 is prime. 0

%I

%S 4,8,12,14,18,32,62,66,96,120,122,140,180,202,228,740,800,810,1012,

%T 1142,1386,1496,1698,4622,5674,54892

%N Numbers k such that (2^k-2)^2-3 is prime.

%p select(k->isprime(4^k-2^(2+k)+1),[$ 1..3000]); # _Muniru A Asiru_, Jul 01 2018

%t Select[Range[3000], PrimeQ[(2^# - 2)^2 - 3] &] (* _Michael De Vlieger_, Jun 30 2018 *)

%o (PARI) is(n)=ispseudoprime((2^n-2)^2-3)

%o (MAGMA) [n: n in [2..750] |IsPrime((2^n - 2)^2 - 3)]; // _Vincenzo Librandi_, Jul 01 2018

%K nonn,more

%O 1,1

%A _Patrick C. Schneider_, Jun 30 2018

%E a(26) from _Giovanni Resta_, Jul 02 2018

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified November 13 21:26 EST 2019. Contains 329106 sequences. (Running on oeis4.)