OFFSET
1,1
COMMENTS
Also prime factors of the numbers 2^k + 3.
Primes in A256397 do not belong to this sequence.
LINKS
Charles R Greathouse IV, Table of n, a(n) for n = 1..10000
FORMULA
A prime p is in the sequence if and only if -3 == 2^k (mod p).
PROG
(PARI) is(n)=if(!isprime(n), return(0)); if(n<5, return(n==2)); my(m=Mod(2, n)); while(m!=1, if(m==-3, return(1), m*=2)); 0 \\ Charles R Greathouse IV, Jun 03 2015
CROSSREFS
KEYWORD
nonn
AUTHOR
Arkadiusz Wesolowski, Jun 03 2015
STATUS
approved
