OFFSET
1,1
COMMENTS
Also, primes p such that p-1 is a non-semiprime. - Juri-Stepan Gerasimov, Apr 28 2010
Conjecture: From the sequence of prime numbers, let 2 and remove the first data iteration of 2*p+1; leave 3 and remove the prime data by the iteration 2*p+1 and we get the sequence. Example for p=2, remove(5,11,23,47); p=3, remove(7); p=13, p=17, p=19, p=23, remove(47); and so on. - Vincenzo Librandi, Aug 07 2010
LINKS
Michael De Vlieger, Table of n, a(n) for n = 1..10000
FORMULA
a(n) ~ n log n. - Charles R Greathouse IV, Dec 29 2024
EXAMPLE
31 is here because (31-1)/2=15 is not prime. 2 and 3 are here because 1/2 and 1 are not prime numbers.
MATHEMATICA
Complement[Prime@ Range@ PrimePi@ Max@ #, #] &@ Select[Prime@ Range@ 90, PrimeQ[(# - 1)/2] &] (* Michael De Vlieger, May 01 2016 *)
Select[Prime[Range[100]], PrimeOmega[#-1]!=2&] (* Harvey P. Dale, May 13 2018 *)
PROG
(PARI) is(n)=isprime(n) && !isprime(n\2) \\ Charles R Greathouse IV, May 02 2016
CROSSREFS
KEYWORD
nonn
AUTHOR
Labos Elemer, Feb 02 2001
STATUS
approved