Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A130090
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
%I A130090
%S A130090 3,7,11,17,19,23,31,37,41,47,53,59,61,67,71,73,79,83,89,97,101,107,109,
%T A130090 113,127,131,137,139,149,151,157,173,179,181,191,193,197,199,211,223,
%U A130090 227,229,233,239,241,251,257,263,269,271,277,281,283,293,307,311,313
%N A130090 Primes prime(n) such that at least one of the two numbers (prime(n+1)^2-prime(n)^2)/
               2 - 1 and (prime(n+1)^2-prime(n)^2)/2 + 1 is not prime.
%e A130090 a(1)=3 because (5^2 - 3^2)/2 - 1 = 7 and (5^2 - 3^2)/2 + 1 = 9 (9 is 
               not prime),
%e A130090 a(2)=7 because (11^2 - 7^2)/2 - 1 = 35 and (11^2 - 7^2)/2 + 1 = 37 (35 
               is not prime),
%e A130090 a(3)=11 because (13^2 - 11^2)/2 - 1 = 23 and (13^2 - 11^2)/2 + 1 = 25 
               (25 is not prime), ...
%p A130090 ts_p3_20:=proc(n) local a,b,i,ans; ans := [ ]: for i from 2 by 1 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 and isprime(b)=true) then ans := [ op(ans), 
               ithprime(i) ]: fi od; RETURN(ans) end: ts_p3_20(300);
%Y A130090 Cf. A130761.
%Y A130090 Sequence in context: A023211 A038981 A065376 this_sequence A136059 A156284 
               A045419
%Y A130090 Adjacent sequences: A130087 A130088 A130089 this_sequence A130091 A130092 
               A130093
%K A130090 nonn
%O A130090 1,1
%A A130090 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 November 30 13:13 EST 2009. Contains 167758 sequences.


AT&T Labs Research