login
Prime numbers not appearing in the nextprime(x^2) sequence A007491.
0

%I #6 Jan 21 2019 19:01:55

%S 3,7,13,19,23,31,41,43,47,59,61,71,73,79,89,97,103,107,109,113,131,

%T 137,139,151,157,163,167,179,181,191,193,199,211,223,229,233,239,241,

%U 251,263,269,271,277,281,283,307,311,313,317,337,347,349,353,359,373,379

%N Prime numbers not appearing in the nextprime(x^2) sequence A007491.

%F a(n) ~ n log n. - _Charles R Greathouse IV_, Apr 09 2013

%t Complement[ Prime@Range@75, Prime[ PrimePi[ Range@19^2] + 1]] (* _Robert G. Wilson v_ *)

%o (PARI) is(n)=isprime(n)&&n>nextprime(sqrtint(n)^2) \\ _Charles R Greathouse IV_, Apr 09 2013

%K nonn,easy

%O 1,1

%A _Jorge Coveiro_, Jan 29 2006

%E More terms from _Robert G. Wilson v_, Jan 30 2006