OFFSET
1,12
COMMENTS
Denominator of the ratio A344875(n)/A011772(n): 1/1, 3/3, 2/2, 7/7, 4/4, 6/3, 6/6, 15/15, 8/8, 12/4, 10/10, 14/8, 12/12, 18/7, 8/5, 31/31, 16/16, 24/8, 18/18, 28/15, 12/6, 30/11, ..., = 1/1, 1/1, 1/1, 1/1, 1/1, 2/1, 1/1, 1/1, 1/1, 3/1, 1/1, 7/4, 1/1, 18/7, 8/5, 1/1, 1/1, 3/1, 1/1, 28/15, 2/1, 30/11, etc.
LINKS
Antti Karttunen, Table of n, a(n) for n = 1..16384
Antti Karttunen, Data supplement: n, a(n) computed for n = 1..65537
MATHEMATICA
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
A344875(n) = { my(f=factor(n)~); prod(i=1, #f, (f[1, i]^(f[2, i]+(2==f[1, i]))-1)); };
CROSSREFS
KEYWORD
nonn,frac
AUTHOR
Antti Karttunen, Jun 04 2021
STATUS
approved