Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A112786
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
%I A112786
%S A112786 3,7,11,17,19,23,29,31,41,47,53,59,67,71,79,83,89,101,109,113,127,149,
%T A112786 157,173,179,193,227,229,233,257,263,277,293,307,311,331,359,367,383,
%U A112786 389,397,431,449,457,461,467,479,487,503,509,521,541,587,593,599,601
%N A112786 Starting from P0=3, the sequence list the minimum prime P1>P0 for which 
               the expression P=P1+P0+1 is also a prime. The search then restarts 
               from P1.
%e A112786 3+5+1=9 is not a prime.
%e A112786 3+7+1=11 is a prime: 7 is in the sequence.
%e A112786 7+11+1=19 is a prime: 11 is in the sequence.
%e A112786 11+13+1=25 is not a prime.
%e A112786 11+17+1=29 is a prime: 17 is in the sequence.
%p A112786 P:=proc(n) local i,w; w:=3; for i from 3 by 1 to n do if isprime(w+ithprime(i)+1) 
               then print(ithprime(i)); w:=ithprime(i); fi; od; end: P(500);
%Y A112786 Sequence in context: A053982 A118000 A121640 this_sequence A023211 A038981 
               A065376
%Y A112786 Adjacent sequences: A112783 A112784 A112785 this_sequence A112787 A112788 
               A112789
%K A112786 easy,nonn
%O A112786 0,1
%A A112786 Amarnath Murthy (amarnath_murthy(AT)yahoo.com), Jan 02 2006
%E A112786 More terms from Paolo P. Lava & Giorgio Balzarotti (ppl(AT)spl.at), Mar 
               07 2007
%E A112786 Edited by N. J. A. Sloane (njas(AT)research.att.com) at the suggestion 
               of Stefan Steinerberger (stefan.steinerberger(AT)gmail.com), Jun 
               07 2007

    
page 1

Search completed in 0.001 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 15 00:47 EST 2009. Contains 170825 sequences.


AT&T Labs Research