login
A337375
a(n) = A330749(A005940(1+n)).
2
1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 3, 2, 1, 2, 1, 1, 1, 1, 1, 1, 5, 6, 3, 2, 1, 1, 3, 4, 1, 2, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 7, 5, 15, 6, 5, 6, 3, 2, 1, 1, 1, 1, 5, 6, 9, 4, 1, 1, 3, 4, 1, 2, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 3, 2, 1, 2, 1, 1, 11, 7, 7, 5, 35, 30, 15, 6, 7, 5, 15, 12, 5, 6, 3, 2, 1, 1, 1, 1, 1, 2, 1, 1, 7, 5
OFFSET
0,6
FORMULA
a(n) = A330749(A005940(1+n)).
PROG
(PARI)
A005940(n) = { my(p=2, t=1); n--; until(!n\=2, if((n%2), (t*=p), p=nextprime(p+1))); (t); };
A064989(n) = {my(f); f = factor(n); if((n>1 && f[1, 1]==2), f[1, 2] = 0); for (i=1, #f~, f[i, 1] = precprime(f[i, 1]-1)); factorback(f)};
A330749(n) = gcd(n, A064989(n));
A337375(n) = A330749(A005940(1+n));
CROSSREFS
KEYWORD
nonn
AUTHOR
Antti Karttunen, Sep 11 2020
STATUS
approved