Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A126072
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A126072 a(n) = least j>n such that one of p(n)#+p(j)#-1 and p(n)#+p(j)#+1 is prime, or 0 if no such prime exists. +0
1
2, 3, 4, 5, 6, 7, 9, 9, 15, 11, 13, 13, 18, 20, 29, 19, 23, 21, 21, 21, 23, 32, 27, 42, 28, 30, 30, 34, 37, 77, 33, 74, 59, 45, 53, 45, 38, 46, 43, 47, 55, 44, 47, 54, 76, 48, 49, 50, 69, 56, 60, 0, 66, 68, 94, 57, 69, 84, 86, 73, 65, 73, 71, 114, 70, 91, 98, 80, 72, 84, 79, 76 (list; graph; listen)
OFFSET

1,1

COMMENT

The first 0 is for n=52. Are there others?

EXAMPLE

2+2*3-1=7 so a(1)=2

2*3+2*3*5-1=35 is composite but 2*3+2*3*5+1=37 is prime so a(2)=3

CROSSREFS

Sequence in context: A063932 A071191 A097428 this_sequence A082463 A072793 A083047

Adjacent sequences: A126069 A126070 A126071 this_sequence A126073 A126074 A126075

KEYWORD

nonn

AUTHOR

Pierre CAMI (pierrecami(AT)tele2.fr), Mar 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 25 20:09 EST 2009. Contains 167514 sequences.


AT&T Labs Research