OFFSET
1,2
COMMENTS
LINKS
FORMULA
a(n) = Sum_{d|n} A378442(d). - Antti Karttunen, Nov 27 2024
EXAMPLE
The stable divisors of 60 are {1, 2, 3, 4, 5, 15}, so a(60) = 6.
MATHEMATICA
stableQ[u_, Q_]:=!Apply[Or, Outer[#1=!=#2&&Q[#1, #2]&, u, u, 1], {0, 1}];
Table[Length[Select[Divisors[n], stableQ[PrimePi/@First/@FactorInteger[#], Divisible]&]], {n, 100}]
PROG
(PARI)
A378442(n)={my(v=apply(primepi, factor(n)[, 1])); for(j=2, #v, for(i=1, j-1, if(v[j]%v[i]==0, return(0)))); 1}; \\ From the function "ok" in A316476 by Andrew Howroyd, Aug 26 2018
CROSSREFS
KEYWORD
nonn
AUTHOR
Gus Wiseman, Sep 15 2019
EXTENSIONS
More terms from Antti Karttunen, Nov 27 2024
STATUS
approved