Antti Karttunen, <a href="/A347048/b347048_1.txt">Table of n, a(n) for n = 1..65537</a>
Antti Karttunen, <a href="/A347048/b347048_1.txt">Table of n, a(n) for n = 1..65537</a>
proposed
approved
editing
proposed
(PARI) A347048(n, m=n, ap=1, e=0) = if(1==n, !(e%2) && 1==denominatornumerator(ap), sumdiv(n, d, if(d>1, A347048(n/d, d, ap * d^((-1)^e), 1-e)))); \\ Antti Karttunen, Jul 28 2024
<a href="/index/Eu#epf">Index entries for sequences computed from exponents in factorization of n</a>
Antti Karttunen, <a href="/A347048/b347048_1.txt">Table of n, a(n) for n = 1..65537</a>
1, 0, 0, 1, 0, 0, 0, 1, 1, 0, 0, 1, 0, 0, 0, 3, 0, 1, 0, 1, 0, 0, 0, 1, 1, 0, 1, 1, 0, 0, 0, 4, 0, 0, 0, 7, 0, 0, 0, 1, 0, 0, 0, 1, 1, 0, 0, 6, 1, 1, 0, 1, 0, 1, 0, 1, 0, 0, 0, 1, 0, 0, 1, 11, 0, 0, 0, 1, 0, 0, 0, 11, 0, 0, 1, 1, 0, 0, 0, 6, 3, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0, 1, 0, 0, 0, 8, 0, 1, 1, 7, 0, 0, 0, 1, 0
(PARI) A347048(n, m=n, ap=1, e=0) = if(1==n, !(e%2) && 1==denominator(ap), sumdiv(n, d, if(d>1, A347048(n/d, d, ap * d^((-1)^e), 1-e)))); \\ Antti Karttunen, Jul 28 2024
Data section extended up to a(105) by Antti Karttunen, Jul 28 2024
approved
editing
proposed
approved
editing
proposed