login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A134126 Indices k such that the (k+1)st partial sum of primes divided by k is integer. 5
1, 2, 4, 7, 10, 50, 130, 328, 651, 4938, 7492, 8083, 12045, 33170, 43138, 61690, 151496, 265056, 953959, 1971358, 5084552, 9372007, 25274899, 34120615, 38684178, 44161681, 415148959, 1294318767, 3955750033 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

COMMENTS

The corresponding quotients are given in A134125.

LINKS

Table of n, a(n) for n=1..29.

FORMULA

Such integers k>0 that A007504(k+1) == 0 (mod k).

EXAMPLE

The indices k=3, 5, 6, 8 etc. do not produce integer quotients and do not appear in the sequence.

PROG

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

Sequence in context: A034744 A219748 A121352 * A277340 A091263 A101430

Adjacent sequences:  A134123 A134124 A134125 * A134127 A134128 A134129

KEYWORD

nonn

AUTHOR

Enoch Haga, Oct 09 2007

EXTENSIONS

Edited by R. J. Mathar, Apr 17 2009

More terms from Sean A. Irvine, Dec 08 2010

a(27), a(28) from D. S. McNeil, Dec 08 2010

a(29) from Max Alekseyev, Jan 28 2012

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified October 22 00:52 EDT 2019. Contains 328315 sequences. (Running on oeis4.)