Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A100317
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
%I A100317
%S A100317 1,2,3,8,10,14,16,20,22,24,28,32,36,38,40,44,46,48,52,54,58,62,66,68,70,
%T A100317 74,78,80,82,84,88,90,96,98,100,104,106,110,112,114,126,128,130,132,136,
%U A100317 140,148,152,156,158,162,164,166,168,172,174,178,182,190,194,196,200
%N A100317 Numbers n such that exactly one of n-1 and n+1 is prime.
%C A100317 Beginning with a(2)=3, n such that exactly one of n-1 and n+1 is composite.
%o A100317 (PARI) for(n=1,500,if(isprime(n-1)+isprime(n+1)==1,print1(n,",")))
%Y A100317 Cf. A100318 (at least one of n-1 and n+1 is composite).
%Y A100317 Sequence in context: A000059 A097053 A132327 this_sequence A060697 A093353 
               A083799
%Y A100317 Adjacent sequences: A100314 A100315 A100316 this_sequence A100318 A100319 
               A100320
%K A100317 nonn
%O A100317 1,2
%A A100317 Rick L. Shepherd (rshepherd2(AT)hotmail.com), Nov 13 2004

    
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 December 19 21:04 EST 2009. Contains 171054 sequences.


AT&T Labs Research