login
A346472
a(n) = A011772(A276086(n)).
1
1, 3, 2, 3, 8, 8, 4, 4, 5, 15, 9, 35, 24, 24, 24, 24, 99, 99, 124, 124, 125, 375, 125, 999, 624, 624, 624, 624, 1250, 5624, 6, 7, 6, 20, 27, 27, 14, 20, 14, 20, 35, 35, 49, 175, 125, 224, 125, 224, 125, 875, 125, 875, 125, 3500, 1875, 1875, 1875, 1875, 4374, 15624, 48, 48, 48, 48, 98, 440, 49, 195, 195, 195, 440, 440, 49
OFFSET
0,2
FORMULA
a(n) = A011772(A276086(n)).
PROG
(PARI)
A011772(n) = { if(n==1, return(1)); my(f=factor(if(n%2, n, 2*n)), step=vecmax(vector(#f~, i, f[i, 1]^f[i, 2]))); forstep(m=step, 2*n, step, if(m*(m-1)/2%n==0, return(m-1)); if(m*(m+1)/2%n==0, return(m))); }; \\ From A011772
A276086(n) = { my(m=1, p=2); while(n, m *= (p^(n%p)); n = n\p; p = nextprime(1+p)); (m); };
CROSSREFS
Sequence in context: A016602 A131134 A151690 * A288247 A143744 A095243
KEYWORD
nonn,base,look
AUTHOR
Antti Karttunen, Jul 20 2021
STATUS
approved