The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A130098 Primes prime(n) such that both of the numbers (prime(n+2)^2-prime(n)^2)/2 - 1 and (prime(n+2)^2-prime(n)^2)/2 + 1 are not primes. 0
 17, 23, 47, 73, 89, 101, 103, 109, 113, 131, 137, 151, 163, 167, 173, 193, 199, 211, 223, 233, 241, 257, 269, 271, 277, 281, 311, 313, 317, 331, 337, 359, 367, 379, 383, 389, 397, 401, 409, 421, 431, 433, 449, 457, 461, 487, 491, 503, 509, 521, 547, 557, 563 (list; graph; refs; listen; history; text; internal format)
 OFFSET 1,1 LINKS EXAMPLE a(1)=17 because (23^2 - 17^2)/2 - 1 = 119 and (23^2 - 17^2)/2 + 1 = 121 (119, 121 are not primes), a(2)=23 because (31^2 - 23^2)/2 - 1 = 215 and (31^2 - 23^2)/2 + 1 = 217 (215, 217 are not primes), a(3)=47 because (59^2 - 47^2)/2 - 1 = 635 and (59^2 - 47^2)/2 + 1 = 637 (635, 637 are not primes), ... MAPLE ts_p2_21:=proc(n) local a, b, i, ans; ans := [ ]: for i from 2 to n do a := (ithprime(i+2)^(2)-ithprime(i)^(2))/2-1: b := (ithprime(i+2)^(2)-ithprime(i)^(2))/2+1: if not (isprime(a)=true or isprime(b)=true) then ans := [ op(ans), ithprime(i) ]: fi od; RETURN(ans) end: ts_p2_21(500); CROSSREFS Cf. A130761. Sequence in context: A281533 A278436 A126329 * A046123 A152292 A214493 Adjacent sequences:  A130095 A130096 A130097 * A130099 A130100 A130101 KEYWORD nonn AUTHOR Jani Melik, Aug 01 2007 STATUS approved

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.

Last modified January 27 13:54 EST 2021. Contains 340467 sequences. (Running on oeis4.)