login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A304575 a(n) = Sum_{d|n} #{k < d, k squarefree and relatively prime to d}. 5
1, 2, 3, 4, 4, 6, 6, 8, 7, 8, 8, 12, 9, 12, 12, 15, 12, 16, 13, 17, 16, 18, 16, 24, 17, 20, 20, 23, 18, 26, 20, 28, 23, 26, 24, 33, 24, 29, 28, 35, 27, 35, 29, 37, 34, 35, 31, 46, 32, 38, 35, 41, 33, 45, 36, 47, 38, 42, 37, 54, 38, 46, 46, 54, 42, 53, 42, 54 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
Note that a(n) <= n.
LINKS
MATHEMATICA
s[n_]:=Length[Select[Range[n], And[SquareFreeQ[#], GCD[n, #]===1]&]];
Table[DivisorSum[n, s], {n, 100}]
PROG
(PARI) a(n) = sumdiv(n, d, #select(k->(issquarefree(k) && (gcd(k, d)==1)), [1..d])); \\ Michel Marcus, May 15 2018
CROSSREFS
Sequence in context: A227683 A321166 A092988 * A296421 A138768 A111939
KEYWORD
nonn
AUTHOR
Gus Wiseman, May 14 2018
STATUS
approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 25 05:56 EDT 2024. Contains 371964 sequences. (Running on oeis4.)