Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A047949
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A047949 a(2) = a(3) = 0; for n >= 4, a(n) = largest m such that n-m and n+m are both primes, or -1 if no such m exists. +0
1
0, 0, 1, 2, 1, 4, 5, 4, 7, 8, 7, 10, 9, 8, 13, 14, 13, 12, 17, 16, 19, 20, 19, 22, 21, 20, 25, 24, 23, 28, 29, 28, 27, 32, 31, 34, 35, 34, 33, 38, 37, 40, 39, 38, 43, 42, 41, 30, 47, 46, 49, 50, 49, 52, 53, 52, 55, 54, 53, 48, 51, 50, 45, 62, 61, 64, 63, 62, 67, 68, 67, 66 (list; graph; listen)
OFFSET

2,4

LINKS

T. D. Noe, Table of n, a(n) for n=2..10000

EXAMPLE

49-30=19 and 49+30=79 are primes, so a(49)=30.

CROSSREFS

Cf. A047160.

Sequence in context: A099492 A075302 A028509 this_sequence A075423 A074720 A058359

Adjacent sequences: A047946 A047947 A047948 this_sequence A047950 A047951 A047952

KEYWORD

easy,nice,nonn

AUTHOR

Lior Manor (lior.manor(AT)gmail.com)

EXTENSIONS

Corrected by Harvey P. Dale (hpd1(AT)is2.nyu.edu), Dec 21 2000

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 19 08:04 EDT 2008. Contains 142098 sequences.


AT&T Labs Research