login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A354995
a(n) = A354933(n) - A034699(n).
2
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 5, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8
OFFSET
1,60
LINKS
MATHEMATICA
a[n_] := SelectFirst[Divisors[n], # >= n/# && CoprimeQ[#, n/#] &] - Max[Power @@@ FactorInteger[n]]; Array[a, 100] (* Amiram Eldar, Jun 18 2022 *)
PROG
(PARI)
A034699(n) = if(1==n, n, my(f=factor(n)); vecmax(vector(#f[, 1], i, f[i, 1]^f[i, 2])));
A354933(n) = fordiv(n, d, if((d>=(n/d)) && 1==gcd(d, n/d), return(d)));
A354995(n) = (A354933(n) - A034699(n));
CROSSREFS
Cf. A051283 (apparently gives the positions of nonzero terms). Cf. also A354996.
Sequence in context: A182796 A079683 A115528 * A270032 A340980 A305671
KEYWORD
nonn,look
AUTHOR
Antti Karttunen, Jun 18 2022
STATUS
approved