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!)
A349658 Number of nonrefactorable divisors of n. 4
0, 0, 1, 1, 1, 2, 1, 1, 1, 2, 1, 3, 1, 2, 3, 2, 1, 2, 1, 4, 3, 2, 1, 3, 2, 2, 2, 4, 1, 6, 1, 3, 3, 2, 3, 3, 1, 2, 3, 4, 1, 6, 1, 4, 4, 2, 1, 5, 2, 4, 3, 4, 1, 4, 3, 4, 3, 2, 1, 8, 1, 2, 4, 4, 3, 6, 1, 4, 3, 6, 1, 3, 1, 2, 5, 4, 3, 6, 1, 5, 3, 2, 1, 8, 3, 2, 3, 4, 1, 8, 3, 4 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,6
LINKS
Eric Weisstein's World of Mathematics, Refactorable Number
FORMULA
a(n) = A000005(n) - A336041(n).
a(n) = A349322(n) - A335182(n). - Antti Karttunen, Nov 24 2021
a(p) = 1 for odd primes p. - Wesley Ivan Hurt, Nov 28 2021
MATHEMATICA
a[n_] := DivisorSum[n, 1 &, !Divisible[#, DivisorSigma[0, #]] &]; Array[a, 100] (* Amiram Eldar, Nov 24 2021 *)
PROG
(PARI) a(n) = sumdiv(n, d, d%numdiv(d) != 0); \\ Michel Marcus, Nov 24 2021
CROSSREFS
Sequence in context: A284600 A114536 A330692 * A345992 A350333 A138010
KEYWORD
nonn
AUTHOR
Wesley Ivan Hurt, Nov 23 2021
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 August 10 09:02 EDT 2024. Contains 375044 sequences. (Running on oeis4.)