Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A134129
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A134129 Running sums of accumulative totals and next prime associated with A134125: cumulative prime sums producing integral quotients when divided by the running index of the count. +0
6
5, 10, 28, 77, 160, 5350, 43940, 331608, 1464099, 111509916, 269629588, 316586861, 734973855, 6186337680, 10731699088, 22692172980, 148089006456, 474639489984, 6777589645423, 30458742769120 (list; graph; listen)
OFFSET

1,1

COMMENT

See A134125 and cross-references.

FORMULA

Beginning with 2+3, sum the primes, then proceed adding each new prime to the previous sum, as 5+5=10. In the sequence, terms are omitted which do not produce integral quotients, as does 77/7=11.

EXAMPLE

for a(1) index count is 1, primes are 2+3=5, so 5 is added to the sequence; for a(2) the previous total 5 is added to next prime 5 for a total of 10, index 2. 28 is index 4 as 3 does not produce an integral quotient so is not added to the sequence.

PROGRAM

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, A134126 A134127, A134128.

Sequence in context: A128665 A054298 A022094 this_sequence A105862 A093029 A105505

Adjacent sequences: A134126 A134127 A134128 this_sequence A134130 A134131 A134132

KEYWORD

easy,more,nonn,uned

AUTHOR

Enoch Haga (Enokh(AT)comcast.net), Oct 09 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 July 24 12:00 EDT 2008. Contains 142294 sequences.


AT&T Labs Research