OFFSET
1,1
COMMENTS
Primes not in A005384 = non-Sophie Germain primes.
Also, numbers n such that odd part of A005277(n) is prime. Proof by John Renze, Sep 30 2004
Sequence gives primes p such that B(2p) has denominator 6, where B(2n) are the Bernoulli numbers. - Benoit Cloitre, Feb 06 2002
Sequence gives all n such that the equation phi(x)=2n has no solution. - Benoit Cloitre, Apr 07 2002
Mersenne prime exponents > 3 must be in the union of this sequence and (A002144). - Roderick MacPhee, Jan 12 2017
LINKS
T. D. Noe, Table of n, a(n) for n = 1..10000
Lambert A'Campo, Every 7-Dimensional Abelian Variety over the p-adic Numbers has a Reducible L-adic Galois Representation, arXiv:2006.06737 [math.NT], 2020.
FORMULA
a(n) ~ n log n. - Charles R Greathouse IV, Feb 20 2012
EXAMPLE
17 is a term because 2*17 + 1 = 35 is composite.
MATHEMATICA
Select[Prime[Range[1000]], ! PrimeQ[2 # + 1] &] (* Vincenzo Librandi, Jun 18 2015 *)
PROG
(PARI) list(lim)=select(p->!isprime(2*p+1), primes(primepi(lim))) \\ Charles R Greathouse IV, Jul 25 2011
(Magma) [p: p in PrimesUpTo(12200) | not IsPrime(2*p+1)]; // Vincenzo Librandi, Jun 18 2015
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Enoch Haga, Feb 29 2000
STATUS
approved