OFFSET
0,3
LINKS
Harry J. Smith, Table of n, a(n) for n=0,...,1000
PROG
(PARI) S(n)=sum(k=2, n, (k-1)*floor(n*(k-1)/k)); j=[]; for(n=0, 80, if(isprime(n), n+1, j=concat(j, S(n)))); j
(PARI) { n=-1; for (m=0, 10^9, if (!isprime(m), a=sum(k=2, m, (k - 1)*floor(m*(k - 1)/k)); write("b063483.txt", n++, " ", a); if (n==1000, break)) ) } \\ Harry J. Smith, Aug 23 2009
CROSSREFS
KEYWORD
nonn
AUTHOR
Jason Earls, Jul 28 2001
STATUS
approved