login
A328573
a(n) = A328475(n) / A328572(n).
3
1, 1, 3, 1, 3, 1, 5, 5, 15, 1, 15, 1, 5, 5, 15, 1, 15, 1, 5, 5, 15, 1, 15, 1, 5, 5, 15, 1, 15, 1, 7, 7, 21, 7, 21, 7, 35, 35, 105, 1, 105, 1, 35, 35, 105, 1, 105, 1, 35, 35, 105, 1, 105, 1, 35, 35, 105, 1, 105, 1, 7, 7, 21, 7, 21, 7, 35, 35, 105, 1, 105, 1, 35, 35, 105, 1, 105, 1, 35, 35, 105, 1, 105, 1, 35, 35, 105, 1, 105, 1, 7, 7, 21, 7, 21
OFFSET
0,3
FORMULA
a(n) = A328475(n) / A328572(n).
PROG
(PARI)
A328475(n) = { my(m=1, p=2, y=1); while(n, if(n%p, m *= p^((n%p)-y), y=0); n = n\p; p = nextprime(1+p)); (m); };
A328572(n) = { my(m=1, p=2); while(n, if(n%p, m *= p^((n%p)-1)); n = n\p; p = nextprime(1+p)); (m); };
A328573(n) = (A328475(n) / A328572(n));
CROSSREFS
Cf. A328574 (positions of 1's).
Sequence in context: A264441 A351566 A346241 * A369066 A283461 A146907
KEYWORD
nonn
AUTHOR
Antti Karttunen, Oct 20 2019
STATUS
approved