Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A132809
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A132809 First prime in a sequence of n consecutive odd primes with integral arithmetic mean. +0
3
3, 3, 5, 71, 5, 7, 17, 239, 13, 29, 5, 43, 23, 5, 5, 7, 7, 79, 17, 47, 11, 109, 73, 97, 53, 271, 13, 263, 23, 41, 61, 97, 101, 181, 41, 47, 13, 233, 13, 53, 13, 359, 151, 71, 61, 239, 73, 443, 859, 29, 131, 131, 61, 313, 101, 19, 151, 521, 3, 571, 31, 7, 79, 109, 97, 53, 53 (list; graph; listen)
OFFSET

2,1

FORMULA

a(n) = {min (prime(k)): sum_{i=0..n-1} prime(k+i) = 0 mod n, k>1 } - R. J. Mathar (mathar(AT)strw.leidenuniv.nl), Nov 27 2007

EXAMPLE

For n=2 we add prime(2)+prime(3)=3+5=8 which is already a multiple of n=2, so we add the first of the primes, 3, at a(n=2).

For n=5 we test 3+5+7+11+13=39 against being a multiple of n=5, then 5+7+11+13+17=53, then 7+11+13+17+19=67 etc. and find that 71+73+79+83+89=395 is a multiple. We place the smallest member in this sequence of 5 primes, 71, at a(n=5).

MAPLE

A132809 := proc(n) local i, j ; for i from 2 do if add( ithprime(i+j), j=0..n-1) mod n = 0 then RETURN(ithprime(i)) ; fi ; od: end: seq(A132809(n), n=2..80) ; - R. J. Mathar (mathar(AT)strw.leidenuniv.nl), Nov 27 2007

CROSSREFS

Cf. A132810-A132811.

Sequence in context: A123633 A110426 A093310 this_sequence A005882 A085572 A010609

Adjacent sequences: A132806 A132807 A132808 this_sequence A132810 A132811 A132812

KEYWORD

easy,nonn

AUTHOR

Enoch Haga (Enokh(AT)comcast.net), Sep 01 2007

EXTENSIONS

Edited by R. J. Mathar (mathar(AT)strw.leidenuniv.nl), Nov 27 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 December 4 15:51 EST 2008. Contains 151308 sequences.


AT&T Labs Research