Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A130096
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A130096 Primes prime(n) such that both of the numbers (prime(n+1)^2-prime(n)^2)/2 - 1 and (prime(n+1)^2-prime(n)^2)/2 + 1 are not primes. +0
1
31, 47, 59, 71, 79, 83, 101, 107, 113, 127, 131, 149, 151, 157, 173, 193, 211, 223, 229, 233, 271, 311, 317, 337, 347, 349, 373, 383, 389, 401, 439, 457, 461, 467, 487, 491, 509, 521, 523, 541, 563, 569, 571, 593, 647, 653, 661, 683, 709, 727, 733, 743, 773 (list; graph; listen)
OFFSET

1,1

EXAMPLE

a(1)=31 because (37^2 - 31^2)/2 - 1 = 203 and (37^2 - 31^2)/2 + 1 = 205 (203, 205 are not primes),

a(2)=47 because (53^2 - 47^2)/2 - 1 = 299 and (53^2 - 47^2)/2 + 1 = 301 (299, 301 are not primes),

a(3)=59 because (61^2 - 59^2)/2 - 1 = 119 and (61^2 - 59^2)/2 + 1 = 121 (119, 121 are not primes), ...

MAPLE

ts_p3_21:=proc(n) local a, b, i, ans; ans := [ ]: for i from 2 to n do a := (ithprime(i+1)^(2)-ithprime(i)^(2))/2-1: b := (ithprime(i+1)^(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_p3_21(500);

CROSSREFS

Cf. A130761.

Sequence in context: A046047 A014313 A095318 this_sequence A075586 A033221 A127576

Adjacent sequences: A130093 A130094 A130095 this_sequence A130097 A130098 A130099

KEYWORD

nonn

AUTHOR

Jani Melik (jani_melik(AT)hotmail.com), Aug 01 2007

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified July 23 17:35 EDT 2008. Contains 142285 sequences.


AT&T Labs Research