Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A134127
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A134127 Largest prime in the partials sums of primes in A134125 which have integer averages. +0
6
3, 5, 11, 19, 31, 233, 739, 2207, 4871, 47933, 76103, 82723, 128663, 391273, 521041, 769423, 2036833, 3724997, 14722933, 31957817 (list; graph; listen)
OFFSET

1,1

FORMULA

Add primes to cumulative totals 3 (to 2), 5, 7, 11, 13, 17, 19, etc. But 7, 13, 17 are omitted from the sequence because the sums at counts 3, 5, 6, e.g., do not produce integral quotients

a(n)=A000040(1+A134126(n)). - R. J. Mathar (mathar(AT)strw.leidenuniv.nl), Jun 10 2008

EXAMPLE

At a(4) 11 is added to the previous sum 17: 17+11=28, and the index count is 4, so 28/4=7, integral, so added to the sequence

PROGRAM

UBASIC: 10 'primes using counters 20 N=3:C=1:R=5:print 2; 3, 5 30 A=3:S=sqrt(N) 40 B=N\A 50 if B*A=N then N=N+2:goto 30 60 A=A+2:O=A 70 if A<=sqrt(N) then 40 80 C=C+1 90 R=R+N:T=R/C:U=R-N 100 if T=int(T) then print C; U; N; R; T:stop 110 N=N+2:goto 30

CROSSREFS

Cf. A134125 A1241126 A134128 A134129.

Sequence in context: A124098 A127453 A092602 this_sequence A078722 A089098 A129384

Adjacent sequences: A134124 A134125 A134126 this_sequence A134128 A134129 A134130

KEYWORD

easy,more,nonn

AUTHOR

Enoch Haga (Enokh(AT)comcast.net), Oct 09 2007

EXTENSIONS

Edited by R. J. Mathar (mathar(AT)strw.leidenuniv.nl), Jun 10 2008

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 21:35 EST 2008. Contains 151309 sequences.


AT&T Labs Research