[go: up one dir, main page]

login
A328580
a(n) is the largest primorial dividing A276086(n), where A276086 converts the primorial base expansion of n into its prime product form.
5
1, 2, 1, 6, 1, 6, 1, 2, 1, 30, 1, 30, 1, 2, 1, 30, 1, 30, 1, 2, 1, 30, 1, 30, 1, 2, 1, 30, 1, 30, 1, 2, 1, 6, 1, 6, 1, 2, 1, 210, 1, 210, 1, 2, 1, 210, 1, 210, 1, 2, 1, 210, 1, 210, 1, 2, 1, 210, 1, 210, 1, 2, 1, 6, 1, 6, 1, 2, 1, 210, 1, 210, 1, 2, 1, 210, 1, 210, 1, 2, 1, 210, 1, 210, 1, 2, 1, 210, 1, 210
OFFSET
0,2
FORMULA
a(n) = A053589(A276086(n)).
a(n) = A002110(A328570(n)-1).
a(n) = A276086(n) / A328475(n).
a(n) = A276086(n) - A328476(n).
A328476(n) / a(n) = A328475(n) - 1.
PROG
(PARI) A328580(n) = { my(i=1, p=2, pr=1); while(n && (n%p), pr *= p; n = n\p; p = nextprime(1+p)); (pr); };
KEYWORD
nonn
AUTHOR
Antti Karttunen, Oct 20 2019
STATUS
approved