Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A092938
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A092938 a(n) = least prime p such that 2*prime(n) - p is prime. +0
3
2, 3, 3, 3, 3, 3, 3, 7, 3, 5, 3, 3, 3, 3, 5, 3, 5, 13, 3, 3, 7, 7, 3, 5, 3, 3, 7, 3, 7, 3, 3, 5, 3, 7, 5, 19, 3, 13, 3, 29, 5, 3, 3, 3, 5, 19, 3, 3, 5, 19, 3, 11, 3, 3, 5, 3, 17, 19, 7, 5, 3, 17, 7, 3, 7, 3, 3, 13, 3, 7, 5, 17, 7, 3, 7, 5, 5, 7, 5, 7, 11, 3, 3, 3, 19, 3, 11, 3, 3, 7, 5, 5, 3, 5, 7, 23, 5, 3 (list; graph; listen)
OFFSET

1,1

COMMENT

a(n) = least prime p such that prime(n) = (p+q)/2, where q is also prime.

a(n) <= prime(n). Conjecture: a(n) = prime(n) only for n = 1 and 2.

EXAMPLE

2*prime(8) = 38; 38 - 2 = 36, 38 - 3 = 35, 38 - 5 = 33 are composite, but 38 - 7 = 31 is prime. Hence a(8) = 7.

PROGRAM

(PARI) {for(n=1, 98, k=2*prime(n); p=2; while(!isprime(k-p), p=nextprime(p+1)); print1(p, ", "))} - Klaus Brockhaus, Dec 23 2006

CROSSREFS

Cf. A092939, A092940, A116619.

Sequence in context: A035441 A025784 A035390 this_sequence A068953 A004258 A109785

Adjacent sequences: A092935 A092936 A092937 this_sequence A092939 A092940 A092941

KEYWORD

nonn

AUTHOR

Amarnath Murthy (amarnath_murthy(AT)yahoo.com), Mar 23 2004

EXTENSIONS

Edited and extended by Klaus Brockhaus (klaus-brockhaus(AT)t-online.de), Dec 23 2006

page 1

Search completed in 0.007 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