Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A108231
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A108231 a(n) = the first prime in the earliest sequence of 2n+1 consecutive primes whose average is prime. +0
1
3, 71, 7, 463, 31, 43, 5, 7, 499, 821, 109, 97, 271, 263, 179, 97, 181, 47, 233, 1931, 359, 227, 1787, 443, 29, 131, 1061, 229, 599, 1931, 7, 317, 53, 2207, 811, 11549, 2411, 2879, 5531, 937, 2371, 293, 21001, 659, 643, 1187, 2927, 4567, 131, 263, 8419, 349 (list; graph; listen)
OFFSET

1,1

EXAMPLE

71 is the first prime in the earliest sequence of 5 = 2 * 2 + 1 consecutive primes whose average is a prime, since (71 + 73 + 79 + 83 + 89)/5 = 79. Therefore a(2) = 71.

MATHEMATICA

f[n_] := Block[{k = 1}, While[ !PrimeQ[ Sum[ Prime[j], {j, k, 2n + k}]/(2n + 1)], k++ ]; Prime[k]]; Table[ f[n], {n, 52}] (from Robert G. Wilson v (rgwv(AT)rgwv.com), Jun 21 2005)

CROSSREFS

Sequence in context: A140048 A135951 A093245 this_sequence A130894 A106894 A094458

Adjacent sequences: A108228 A108229 A108230 this_sequence A108232 A108233 A108234

KEYWORD

nonn

AUTHOR

Joseph Pe (joseph_l_pe(AT)hotmail.com), Jun 16 2005

EXTENSIONS

More terms from Robert G. Wilson v (rgwv(AT)rgwv.com), Jun 21 2005

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 23 17:35 EDT 2008. Contains 142285 sequences.


AT&T Labs Research