login
A258052
a(n) = n-th cumulative sum of A073602 divided by n-th prime.
1
1, 3, 4, 7, 6, 13, 18, 23, 20, 21, 22, 27, 26, 29, 30, 29, 30, 37, 42, 41, 48, 49, 48, 47, 56, 75, 74, 77, 78, 83, 74, 81, 80, 83, 80, 81, 82, 79, 84, 83, 84, 97, 94, 99, 104, 111, 106, 101, 102, 103, 102, 101, 102, 101, 102, 125, 126, 127, 128, 137, 140
OFFSET
1,2
COMMENTS
a(n) is equal to prime(n) only for n=2, 4 and 6, that is, for primes 3, 7 and 13. - Michel Marcus, Jun 17 2015
FORMULA
a(n) = sum(i=1..n, A073602(n))/A000040(n).
PROG
(PARI) vsearch(n, v)=local(j, s); j=1; s=matsize(v)[2]; while(j<=s&&n!=v[j], j++); j<=s;
{m=54; v=[]; n=1; while(n<=m, p=2; while(vsearch(p, v)||((sum(j=1, matsize(v)[2], v[j])+p)%prime(n))>0, p=nextprime(p+1)); v=concat(v, p); n++); for (i=1, #v, print1(sum(k=1, i, v[k]/prime(i)), ", "))} \\ adapted from A073602; Michel Marcus, Jun 16 2015
CROSSREFS
Sequence in context: A214409 A215509 A053480 * A344484 A241448 A323243
KEYWORD
nonn
AUTHOR
Zak Seidov, Jun 14 2015
STATUS
approved