Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A124662
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A124662 Primes prime(n) such that there exists a 0 < k < n-1 such that prime(n+k) + prime(n-k) = 2*prime(n). +0
2
5, 11, 13, 17, 29, 31, 37, 41, 53, 59, 61, 67, 71, 83, 89, 97, 101, 103, 107, 127, 131, 137, 139, 151, 157, 167, 173, 179, 181, 191, 193, 197, 211, 233, 251, 257, 263, 277, 307, 311, 331, 337, 347, 349, 353, 359, 367, 373, 379, 383, 389, 397, 401, 409, 419, 421 (list; graph; listen)
OFFSET

1,1

COMMENT

prime(11+3) + prime(11-3) = 2*prime(11); therefore prime(11) = 31 is in the sequence.

MATHEMATICA

a = {}; For[k = 3, k < 100, k++, For[n = 1, n < k - 1, n++, If[(Prime[k + n] + Prime[k - n])/2 == Prime[k], AppendTo[a, Prime[k]]]]]; Union[a, a]

CROSSREFS

Adjacent sequences: A124659 A124660 A124661 this_sequence A124663 A124664 A124665

Sequence in context: A040113 A003632 A019354 this_sequence A049511 A024900 A087490

KEYWORD

nonn

AUTHOR

Artur Jasinski (grafix(AT)csl.pl), Dec 23 2006

EXTENSIONS

Edited, corrected and extended by Stefan Steinerberger (stefan.steinerberger(AT)gmail.com), Jul 31 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 October 7 08:31 EDT 2008. Contains 144667 sequences.


AT&T Labs Research