Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A120639
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
%I A120639
%S A120639 2,3,5,7,11,13,17,37,41,43,53,67,71,73,79,83,97,127,131,137,139,163,173,
%T A120639 193,197,199,227,263,277,281,293,307,373,383,409,431,433,467,487,499,
%U A120639 503,521,563,577,587,593,617,619,673,677,683,701,709,727,739,743,797
%N A120639 Primes such that their quadruple is 1 away from a prime number.
%C A120639 This sequence is a variation of the sequence in the reference. However, 
               this sequence should have an infinite number of terms. k=2 in the 
               PARI code.
%D A120639 R. Crandall and C. Pomerance, Prime Numbers A Computational Perspective, 
               Springer Verlag 2002, p. 49, exercise 1.18.
%e A120639 17*4 = 68, one away from 67 which is prime.
%o A120639 (PARI) primepm2(n,k) = \k = number of iterations,k = factor { local(x,
               p1,p2,f1,f2,r); if(k%2,r=2,r=1); for(x=1,n, p1=prime(x); p2=prime(x+1); 
               if(isprime(p1*k+r)||isprime(p1*k-r), print1(p1",") ) ) }
%Y A120639 Sequence in context: A003459 A118725 A117835 this_sequence A141263 A016114 
               A053434
%Y A120639 Adjacent sequences: A120636 A120637 A120638 this_sequence A120640 A120641 
               A120642
%K A120639 easy,nonn
%O A120639 1,1
%A A120639 Cino Hilliard (hillcino368(AT)gmail.com), Aug 17 2006

    
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