OFFSET
1,2
LINKS
Harry J. Smith, Table of n, a(n) for n = 1..1000
MAPLE
A065967 := proc(n) local i, j, k, t1, t2, t3; t1 := ifactors(n)[2]; t2 := n^1*add((1+1/(t1[i][1])^1), i=1..nops(t1)); end;
PROG
(PARI) { for (n=1, 1000, s=0; p=2; while (p<=n, if(n%p == 0, s+=(1 + 1/p)); p=nextprime(p + 1)); write("b065967.txt", n, " ", n*s) ) } \\ Harry J. Smith, Nov 05 2009
CROSSREFS
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, Dec 09 2001
STATUS
approved