Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A078587
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A078587 Largest prime p such that p<n and 2n-p is also prime. +0
6
3, 3, 5, 3, 5, 7, 7, 5, 11, 7, 11, 13, 13, 11, 17, 7, 17, 19, 13, 17, 19, 19, 23, 23, 19, 17, 29, 19, 23, 29, 31, 29, 31, 31, 29, 37, 37, 29, 41, 19, 41, 43, 31, 41, 43, 37, 47, 43, 43, 47, 47, 43, 53, 53, 43, 47, 59, 43, 53, 59, 61, 59, 61, 61, 53, 67, 67, 59, 71, 67, 59, 71 (list; graph; listen)
OFFSET

4,1

COMMENT

Suggested by Goldbach Conjecture.

Also, values of p from A143697. This follows from the factorization n^2-k^2 = (n-k)(n+k). - T. D. Noe (noe(AT)sspectra.com), Jan 22 2009

LINKS

P. CAMI, Table of n, a(n) for n = 4..60000

FORMULA

a(n) = 2n - A078496(n)

MATHEMATICA

Table[p=n+1; q=2n-p; While[q>0&&!(PrimeQ[p]&&PrimeQ[q]), p++; q-- ]; q, {n, 4, 100}]

CROSSREFS

Cf. A143697, A078496.

Cf. A082467

Sequence in context: A158894 A131919 A131832 this_sequence A033558 A046217 A057662

Adjacent sequences: A078584 A078585 A078586 this_sequence A078588 A078589 A078590

KEYWORD

easy,nonn

AUTHOR

T. D. Noe (noe(AT)sspectra.com), Dec 02 2002

EXTENSIONS

Edited by N. J. A. Sloane (njas(AT)research.att.com), Jan 24 2009 at the sggestion of R. J. Mathar and T. D. Noe.

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 December 20 00:58 EST 2009. Contains 171054 sequences.


AT&T Labs Research