OFFSET
1,6
LINKS
Antti Karttunen, Table of n, a(n) for n = 1..65537
FORMULA
a(n) = A178637(n) - 1. - Antti Karttunen, Aug 06 2018
MAPLE
pp := array(1..100); for i from 1 to 100 do pp[i] := 0; od: for i from 1 to 25 do for j from 1 to 6 do t1 := ithprime(i)^j; if t1<100 then pp[t1] := 1; fi; od: od: pp[1] := 1; A035321 := proc(n) local i, d, t1, t2; t1 := 0; for d from 1 to n do if n mod d = 0 and pp[d] = 0 then t1 := t1+d; fi; od; t1; end;
MATHEMATICA
Array[ Plus @@ (Select[ Divisors[ # ], (Length[ FactorInteger[ # ] ]>1)& ])&, 80 ]
PROG
(PARI) A035321(n) = sumdiv(n, d, (omega(d)>1)*(d)); \\ Antti Karttunen, Aug 06 2018
CROSSREFS
KEYWORD
nonn
AUTHOR
EXTENSIONS
Description corrected by Jack Brennen, Mar 28 2001
STATUS
approved