Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A126145
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A126145 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. +0
1
3, 5, 7, 11, 13, 17, 31, 37, 43, 47, 61, 67, 71, 79, 89, 103, 109, 131, 139, 173, 181, 193, 197, 223, 227, 241, 251, 271, 277, 281, 283, 311, 331, 347, 373, 379, 383, 439, 443, 487, 491, 523, 541, 547, 557, 607, 617, 643, 647, 661, 701, 709, 719, 733, 739, 743 (list; graph; listen)
OFFSET

0,1

EXAMPLE

3+5-1=7 is a prime. 5 is in the sequence.

5+7-1=11 is a prime: 11 is in the sequence.

11+13-1=23 is a prime: 13 is in the sequence.

13+17-1=29 is a prime: 17 is in the sequence.

17+19-1=35 is not a prime.

MAPLE

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);

CROSSREFS

Sequence in context: A024328 A032529 A106284 this_sequence A092729 A136186 A023210

Adjacent sequences: A126142 A126143 A126144 this_sequence A126146 A126147 A126148

KEYWORD

easy,nonn

AUTHOR

Paolo P. Lava & Giorgio Balzarotti (ppl(AT)spl.at), Mar 07 2007, Mar 08 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 26 23:19 EDT 2008. Contains 142293 sequences.


AT&T Labs Research